From 77d09e0ca27d78a0f2638dc4dc10152203734d6e Mon Sep 17 00:00:00 2001 From: Mahad Zaryab Date: Sat, 21 Sep 2024 17:44:45 -0400 Subject: [PATCH] Add Missing HTTP Receiver Config Signed-off-by: Mahad Zaryab --- docker-compose/monitor/docker-compose.yml | 2 +- docker-compose/monitor/otel-collector-config-connector.yml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose/monitor/docker-compose.yml b/docker-compose/monitor/docker-compose.yml index a1d72a43ddd..51eedd08abe 100644 --- a/docker-compose/monitor/docker-compose.yml +++ b/docker-compose/monitor/docker-compose.yml @@ -21,7 +21,7 @@ services: backend: # This is the host name used in Prometheus scrape configuration. aliases: [spm_metrics_source] - image: otel/opentelemetry-collector-contrib:latest + image: otel/opentelemetry-collector-contrib:${OTEL_IMAGE_TAG:-0.109} volumes: - ${OTEL_CONFIG_SRC:-./otel-collector-config-connector.yml}:/etc/otelcol/otel-collector-config.yml command: --config /etc/otelcol/otel-collector-config.yml diff --git a/docker-compose/monitor/otel-collector-config-connector.yml b/docker-compose/monitor/otel-collector-config-connector.yml index 72d577d4321..8a3bed4521e 100644 --- a/docker-compose/monitor/otel-collector-config-connector.yml +++ b/docker-compose/monitor/otel-collector-config-connector.yml @@ -3,6 +3,7 @@ receivers: protocols: grpc: http: + endpoint: "0.0.0.0:4318" exporters: prometheus: