grafana / docker-otel-lgtm

Apache License 2.0
242 stars 45 forks source link

Investigate if we should switch to supervisord #23

Open fstab opened 6 months ago

fstab commented 6 months ago

The Docker image runs multiple services (OTel collector, Prometheus, Loki, Tempo, Grafana).

Currently we use run-all.sh as a wrapper script to run all of these services.

supervisord is a more sophisticated solution to run multiple services. We should investigate whether it's worthwhile to switch to supervisord.

https://docs.docker.com/config/containers/multi-service_container/

TomKeur commented 5 months ago

Instead of supervisor you could also take a look at https://github.com/just-containers/s6-overlay because you don't have a dependency to Python.

Also I was wondering why using redhat/ubi8 as baseimage? For example Grafana itself is using: alpine:3.19.1, that could get the image size down.

josegonzalez commented 1 month ago

Could use something like goreman to have a single binary and just execute a Procfile.