Connect Prometheus to internal Service
I'm following this Grafana integration guide (https://flower.readthedocs.io/en/latest/prometheus-integration.html#grafana-integration-guide) and attempting to connect Prometheus service to Flower.
I can see that Flower is reachable internally as "celery-flower.railway.internal" so I've set that as the target in prometheus.yml
However Prometheus is not able to connect to this service, why is this?
Thanks!
5 Replies
Project ID:
f1b5f347-c845-4e49-a7a2-c861816cffd6
f1b5f347-c845-4e49-a7a2-c861816cffd6
Solution
you need to also specify a port
Yesss, thanks all working now!
Do you know if it's possible to configure Prometheus to fetch logs from a service?
that likely requires docker socket access, so your app would instead need to send its logs to promethus