quickwit-oss/quickwit

Fix make docker-compose-monitoring command

Open

#4 008 ouverte le 22 oct. 2023

Voir sur GitHub
 (1 commentaire) (0 réactions) (1 assigné)Rust (553 forks)github user discovery
buggood first issue

Métriques du dépôt

Stars
 (11 300 stars)
Métriques de merge PR
 (Métriques PR en attente)

Description

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.

Guide contributeur