From 41e5ce384110ba4ff2f53e742086a3682ae581b1 Mon Sep 17 00:00:00 2001 From: Dustin Kaiser Date: Wed, 20 Nov 2024 15:37:58 +0100 Subject: [PATCH] Opentelemetry: Drop more metrics: healthcheck and /metrics --- services/jaeger/opentelemetry-collector-config.yaml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/services/jaeger/opentelemetry-collector-config.yaml b/services/jaeger/opentelemetry-collector-config.yaml index a6e85e1e..112fea27 100644 --- a/services/jaeger/opentelemetry-collector-config.yaml +++ b/services/jaeger/opentelemetry-collector-config.yaml @@ -28,4 +28,6 @@ processors: traces: span: - attributes["http.route"] == "healthcheck_readiness_probe" + - attributes["http.route"] == "healthcheck_liveness_probe" + - attributes["http.target"] == "/metrics" and IsMatch(attributes["http.user_agent"], ".*Prometheus.*") == true - attributes["db.statement"] == "PING" and attributes["db.system"] == "redis"