You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The spanmetricsconnector component in the OpenTelemetry Collector has a setting called exclude_dimensions that is intended to exclude specific dimensions from the metrics. This setting works correctly for the default dimensions, which are service.name, span.name, span.kind, and status.code. However, it does not work for dimensions that are added by process tags such as host.name by any processors before the spanmetricsconnector
Steps to Reproduce
Send sample zipkin span to the otel collector traces pipeline with the span metrics connector and prometheus output for metrics
Component(s)
connector/spanmetrics
What happened?
Description
The
spanmetricsconnector
component in the OpenTelemetry Collector has a setting calledexclude_dimensions
that is intended to exclude specific dimensions from the metrics. This setting works correctly for the default dimensions, which areservice.name
,span.name
,span.kind
, andstatus.code
. However, it does not work for dimensions that are added by process tags such ashost.name
by any processors before thespanmetricsconnector
Steps to Reproduce
Send sample zipkin span to the otel collector traces pipeline with the span metrics connector and prometheus output for metrics
Expected Result
host_name
is not part of the metric dimensionActual Result
host_name
metric is included with the metricCollector version
v0.103.0
Environment information
Environment
Ubuntu 22.04.4 LTS
OpenTelemetry Collector configuration
Log output
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: