diff --git a/.github/ISSUE_TEMPLATE/blank.yaml b/.github/ISSUE_TEMPLATE/blank.yaml index 912c610cbf..9a3b292032 100644 --- a/.github/ISSUE_TEMPLATE/blank.yaml +++ b/.github/ISSUE_TEMPLATE/blank.yaml @@ -85,6 +85,7 @@ body: - otelcol.auth.headers - otelcol.auth.oauth2 - otelcol.auth.sigv4 + - otelcol.connector.count - otelcol.connector.host_info - otelcol.connector.servicegraph - otelcol.connector.spanlogs diff --git a/.github/ISSUE_TEMPLATE/bug_report.yaml b/.github/ISSUE_TEMPLATE/bug_report.yaml index 816a77755e..a91fc4e793 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.yaml +++ b/.github/ISSUE_TEMPLATE/bug_report.yaml @@ -85,6 +85,7 @@ body: - otelcol.auth.headers - otelcol.auth.oauth2 - otelcol.auth.sigv4 + - otelcol.connector.count - otelcol.connector.host_info - otelcol.connector.servicegraph - otelcol.connector.spanlogs diff --git a/.github/ISSUE_TEMPLATE/docs.yaml b/.github/ISSUE_TEMPLATE/docs.yaml index 8598f86337..5b927b7ab5 100644 --- a/.github/ISSUE_TEMPLATE/docs.yaml +++ b/.github/ISSUE_TEMPLATE/docs.yaml @@ -88,6 +88,7 @@ body: - otelcol.auth.headers - otelcol.auth.oauth2 - otelcol.auth.sigv4 + - otelcol.connector.count - otelcol.connector.host_info - otelcol.connector.servicegraph - otelcol.connector.spanlogs diff --git a/.github/ISSUE_TEMPLATE/feature_request.yaml b/.github/ISSUE_TEMPLATE/feature_request.yaml index aa36137674..ab8c4e54da 100644 --- a/.github/ISSUE_TEMPLATE/feature_request.yaml +++ b/.github/ISSUE_TEMPLATE/feature_request.yaml @@ -85,6 +85,7 @@ body: - otelcol.auth.headers - otelcol.auth.oauth2 - otelcol.auth.sigv4 + - otelcol.connector.count - otelcol.connector.host_info - otelcol.connector.servicegraph - otelcol.connector.spanlogs diff --git a/.github/ISSUE_TEMPLATE/proposal.yaml b/.github/ISSUE_TEMPLATE/proposal.yaml index e96d71157d..91a85c121a 100644 --- a/.github/ISSUE_TEMPLATE/proposal.yaml +++ b/.github/ISSUE_TEMPLATE/proposal.yaml @@ -85,6 +85,7 @@ body: - otelcol.auth.headers - otelcol.auth.oauth2 - otelcol.auth.sigv4 + - otelcol.connector.count - otelcol.connector.host_info - otelcol.connector.servicegraph - otelcol.connector.spanlogs diff --git a/CHANGELOG.md b/CHANGELOG.md index 464c60f857..81a10cd3b1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,12 @@ Main (unreleased) ### Features +- Add `otelcol.connector.count` component to count the number of spans, metrics, and logs passing through it. (@hhertout) + +- A new `mimir.alerts.kubernetes` component which discovers `AlertmanagerConfig` Kubernetes resources and loads them into a Mimir instance. (@ptodev) + +- Mark `stage.windowsevent` block in the `loki.process` component as GA. (@kgeckhart) + - (_Experimental_) A new `otelcol.receiver.awss3` component to receive traces previously stored in S3 by the [AWS S3 Exporter](https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.exporter.awss3/). (@x1unix) - (_Experimental_) Add `pyroscope.enrich` component to enrich profiles using labels from `discovery.*` components. (@AndreZiviani) diff --git a/docs/sources/reference/compatibility/_index.md b/docs/sources/reference/compatibility/_index.md index 6803292b95..55ae1649ab 100644 --- a/docs/sources/reference/compatibility/_index.md +++ b/docs/sources/reference/compatibility/_index.md @@ -309,6 +309,7 @@ The following components, grouped by namespace, _export_ OpenTelemetry `otelcol. {{< collapse title="otelcol" >}} +- [otelcol.connector.count](../components/otelcol/otelcol.connector.count) - [otelcol.connector.host_info](../components/otelcol/otelcol.connector.host_info) - [otelcol.connector.servicegraph](../components/otelcol/otelcol.connector.servicegraph) - [otelcol.connector.spanlogs](../components/otelcol/otelcol.connector.spanlogs) @@ -363,6 +364,7 @@ The following components, grouped by namespace, _consume_ OpenTelemetry `otelcol {{< /collapse >}} {{< collapse title="otelcol" >}} +- [otelcol.connector.count](../components/otelcol/otelcol.connector.count) - [otelcol.connector.host_info](../components/otelcol/otelcol.connector.host_info) - [otelcol.connector.servicegraph](../components/otelcol/otelcol.connector.servicegraph) - [otelcol.connector.spanlogs](../components/otelcol/otelcol.connector.spanlogs) diff --git a/docs/sources/reference/components/otelcol/otelcol.connector.count.md b/docs/sources/reference/components/otelcol/otelcol.connector.count.md new file mode 100644 index 0000000000..465d11e823 --- /dev/null +++ b/docs/sources/reference/components/otelcol/otelcol.connector.count.md @@ -0,0 +1,372 @@ +--- +canonical: https://grafana.com/docs/alloy/latest/reference/components/otelcol/otelcol.connector.count/ +description: Learn about otelcol.connector.count +labels: + stage: experimental + products: + - oss +title: otelcol.connector.count +--- + +# `otelcol.connector.count` + +{{< docs/shared lookup="stability/experimental.md" source="alloy" version="" >}} + +`otelcol.connector.count` accepts spans, span events, metrics, data points, and log records from other `otelcol` components and generates metrics that count the received telemetry data. + +{{< admonition type="note" >}} +`otelcol.connector.count` is a wrapper over the upstream OpenTelemetry Collector Contrib `count` connector. +Bug reports or feature requests are redirected to the upstream repository if necessary. +{{< /admonition >}} + +You can specify multiple `otelcol.connector.count` components by giving them different labels. + +## Usage + +```alloy +otelcol.connector.count "