diff --git a/src/otelcollector/otelcol-config.yml b/src/otelcollector/otelcol-config.yml index 64e12fe0f5..8275f3bcfc 100644 --- a/src/otelcollector/otelcol-config.yml +++ b/src/otelcollector/otelcol-config.yml @@ -23,6 +23,12 @@ processors: batch: spanmetrics: metrics_exporter: prometheus + # temporary measure until description is fixed in .NET + transform: + metric_statements: + - context: metric + statements: + - set(description, "Measures the duration of inbound HTTP requests") where name == "http.server.duration" service: pipelines: @@ -32,5 +38,5 @@ service: exporters: [logging, otlp] metrics: receivers: [otlp] - processors: [batch] + processors: [transform, batch] exporters: [prometheus, logging]