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 :/
I'm on linux.
When I run
make docker-compose-monitoring
, I get the following error: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.
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.