[prometheus-users] Re: prometheus agent 2.49.1 - remote_write metrics while disconnected

2024-03-14 Thread Alexander Wilke
I found several posts which ask if it is possible that prometheus agent can store the metrics locally if remote_write destination is not available. This post describes that it should work at least for 2hrs.: https://prometheus.io/blog/2021/11/16/agent/ However here is a guthub issue which seems

[prometheus-users] Re: Best practive: "job_name in prometheus agent? Same job_name allowed ?

2024-03-14 Thread Alexander Wilke
Thanks for your response. What would you recommend in a situation with several hundredes or thousands of servers or systems within a kubernetes cluster which should have the node_exporter installed. my idea was to install the node_exporter + prometheus agent. agent scrapes local node_exporter

[prometheus-users] Re: Best practive: "job_name in prometheus agent? Same job_name allowed ?

2024-03-14 Thread 'Brian Candler' via Prometheus Users
As long as all the time series have distinct label sets (in particular, different "instance" labels), and you're not mixing scraping with remote-writing for the same targets, then I don't see any problem with all the agents using the same "job" label when remote-writing. On Tuesday 12 March