diff --git a/CHANGELOG.md b/CHANGELOG.md index e57d47702b..4de7c6974a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ 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) 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..0bca097f55 --- /dev/null +++ b/docs/sources/reference/components/otelcol/otelcol.connector.count.md @@ -0,0 +1,370 @@ +--- +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` + +`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 "