quickwit-oss / quickwit-oss/quickwit

Fix make docker-compose-monitoring command

Open
#4,008 1 comment 0 reactions 1 assignee View on GitHub

@guilload is already working on this.

Since Oct 16, 2024.

bug good first issue
Dominant language
Rust
Stars
11.7k
Forks
597
Avg merge
2d 22h
Merged PRs (30d)
37

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.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.