OpenTelemetryMetricsBackend and metrics cost ( cardinality )

With OpenTelemetryMetricsBackend, it seems that too many metrics are produced, then cost is really expensive when billing is proportional with cardinality. Probably because URI and query parameters are part of emitted metrics.

Is it easily avoidable ?

The full url was there by mistake - it should only be added in tracing backends. See PR: Remove url.full from default OpenTelemetry metrics attributes by adamw · Pull Request #2815 · softwaremill/sttp · GitHub

1 Like

See the upcoming 4.0.19 release

1 Like