From 296c32a296819c7c6e0d11072b0f0a9cb042af5b Mon Sep 17 00:00:00 2001 From: Albert Teoh Date: Sat, 18 Nov 2023 12:30:46 +1100 Subject: [PATCH] Normalize metric names due to breaking change Signed-off-by: Albert Teoh --- docker-compose/monitor/docker-compose.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/docker-compose/monitor/docker-compose.yml b/docker-compose/monitor/docker-compose.yml index 3087c70fde0..e898a5c81fa 100644 --- a/docker-compose/monitor/docker-compose.yml +++ b/docker-compose/monitor/docker-compose.yml @@ -13,12 +13,14 @@ services: - PROMETHEUS_QUERY_SUPPORT_SPANMETRICS_CONNECTOR=${PROMETHEUS_QUERY_SUPPORT_SPANMETRICS_CONNECTOR:-true} - PROMETHEUS_QUERY_NAMESPACE=${PROMETHEUS_QUERY_NAMESPACE:-} - PROMETHEUS_QUERY_DURATION_UNIT=${PROMETHEUS_QUERY_DURATION_UNIT:-} + - PROMETHEUS_QUERY_NORMALIZE_CALLS=true + - PROMETHEUS_QUERY_NORMALIZE_DURATION=true ports: - "16686:16686" otel_collector: networks: - backend - image: otel/opentelemetry-collector-contrib:${OTEL_IMAGE_TAG:-0.80.0} + image: otel/opentelemetry-collector-contrib:${OTEL_IMAGE_TAG:-0.89.0} volumes: - ${OTEL_CONFIG_SRC:-./otel-collector-config-connector.yml}:/etc/otelcol/otel-collector-config.yml command: --config /etc/otelcol/otel-collector-config.yml