grafana/tempo

[Metrics-generator: span-metrics] Enable option to apply regex/wildcard on span attribute key

Open

#3302 aperta il 17 gen 2024

Vedi su GitHub
 (2 commenti) (0 reazioni) (0 assegnatari)Go (727 fork)auto 404
component/metrics-generatorenhancementhelp wantedkeepalive

Metriche repository

Star
 (5370 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I recently started to work on open telemetry, I have multiple attributes where key is prefixed with a string, for example, fruit_apple=3, fruit_orange=5, fruit_mango=10, etc,

Need a feature in span-metrics to apply wildcard on attribute key as below or suggest any workaround.

metricsGenerator: span_metrics: # -- Additional dimensions to add to the metrics along with the default dimensions. # -- Dimensions are searched for in the resource and span attributes and are added to the metrics if present. dimensions: - fruit_.*

Guida contributor