Comment on It's Gonna Be A Good Day, 'Tater
irmadlad@lemmy.world 3 weeks agoI have a follow up question about cadvisor, if you have a minute. Cadvisor employ Redis and Prometheus. If I understand correctly, you configure Prometheus to scrape Docker logs. All fine and good. However, my Grafana stack already employs Prometheus to do the same, just for syslogs and such, but not Docker. Can I not place the contents of the Cadvisor/Prometheus config in the existing Prometheus implementation used with Grafana, or does Cadvisor need it’s own Prometheus instance.
__init__@programming.dev 3 weeks ago
You should be able to just add a scrape config to your existing deployment of prometheus
irmadlad@lemmy.world 3 weeks ago
Thank you for the reply. I guess I am thinking, why have multiple Prometheus instances running, eating up resources, when I could do it with just one.
MXX53@programming.dev 3 weeks ago
Sorry I didn’t get back to you right away. But this is correct. I just have Prometheus scrape cAdvisor.
irmadlad@lemmy.world 3 weeks ago
You’re fine. Thanks for the follow up.
__init__@programming.dev 3 weeks ago
For sure. Simplifies querying the data too, since you won’t need to deal with multiple data sources in grafana.
irmadlad@lemmy.world 3 weeks ago
Awesome!