quickwit-oss/quickwit

Fix make docker-compose-monitoring command

Open

#4008 aperta il 22 ott 2023

Vedi su GitHub
 (1 commento) (0 reazioni) (1 assegnatario)Rust (553 fork)github user discovery
buggood first issue

Metriche repository

Star
 (11.300 star)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

I'm on linux.

When I run make docker-compose-monitoring, I get the following error:

make docker-compose-monitoring

Error response from daemon: driver failed programming external connectivity on endpoint jaeger (ea35fbae14701d0a13a1727f5af3ccb31f4e76f58061375374c432dc4720a8cc): Bind for 127.0.0.1:4318 failed: port is already allocated
make: *** [Makefile:36: docker-compose-monitoring] Error 1

If I comment in the docker compose file the lines, it will work. We need to keep those ports to send traces to Jaeger. There is a conflict with the OTEL collector. I think we don't need the OTEL collector to send traces to Jaeger now.

-      - "${MAP_HOST_JAEGER:-127.0.0.1}:4317:4317"   # OTLP over gRPC
-      - "${MAP_HOST_JAEGER:-127.0.0.1}:4318:4318"   # OTLP over HTTP

Another issue I had is that the Prometheus container does not manage to scrape metrics from a local Quickwit instances despite the extra_host setup "host.docker.internal:host-gateway" in the docker compose file. I don't know why it's not working on linux :/

Let's fix those two problems.

Guida contributor