For the complete documentation index, see llms.txt. This page is also available as Markdown.

Count

Counts the telemetry events passing through a pipeline and emits the totals as metrics. It bridges pipelines: it consumes logs, metric data points, and spans from the source pipeline and feeds count metrics into the destination pipeline. Leave it with defaults to emit the connector's built-in counts, or define custom count metrics scoped to specific signal types.

Supported Telemetry Types

Input
Output

Logs, Metrics, Traces

Metrics

The connector consumes the selected signal types and emits count metrics, so the output is always Metrics regardless of which input signals you count.

Configuration

Basic Configuration

Bindplane docs - Count - image 1
Parameter
Type
Required
Default
Description

Choose Telemetry Types

Telemetry Selector

Yes

Logs, Metrics, Traces

Which telemetry types this connector counts.

Custom Counts

Count Metrics

No

(empty)

Define custom count metrics. Leave empty to emit the connector's default counts (log.record.count, metric.count, metric.datapoint.count, trace.span.count, trace.span.event.count). Defining a custom count for a signal type suppresses that signal's default emission.

Default metrics

With Custom Counts left empty, the connector emits these metrics per selected telemetry type:

Telemetry Type
Metrics Emitted

Logs

log.record.count

Metrics

metric.count, metric.datapoint.count

Traces

trace.span.count, trace.span.event.count

Examples

Count log records and spans with defaults

Count all log records and trace spans passing through the pipeline using the built-in metrics. Set Choose Telemetry Types to Logs and Traces, and leave Custom Counts empty.

This emits log.record.count, trace.span.count, and trace.span.event.count as sum metrics.

Configuration Tips

  • Leave Custom Counts empty to get the default counts. You only need custom counts when you want to scope a count by a condition or group it by attributes.

  • A custom count's signalType (logs, datapoints, spans, spanevents) only takes effect if the matching telemetry type is selected in Choose Telemetry Types.

  • Defining any custom count for a signal type replaces that signal's default count, so re-declare the default metric if you still want it alongside a new one.

Troubleshooting

No count metrics appear in the destination

Symptoms: the pipeline produces no *.count metrics after adding the connector.

Solutions:

  1. Confirm the signal type you expect to count is selected in Choose Telemetry Types.

  2. Verify the source pipeline is actually carrying that signal type to the connector.

A signal's default count stopped emitting

Symptoms: a default metric (for example log.record.count) disappeared after you added a custom count.

Solutions:

  1. A custom count for a signal type suppresses that signal's default. Re-add the default metric explicitly under Custom Counts if you still need it.

Standalone Connector

Bindplane Resources

  • Signal to Metrics — for filtered or attribute-grouped counting with OTTL expressions

  • Routing — route counted signals to different downstream pipelines

Last updated

Was this helpful?