Good morning, everyone,
I allow myself the following message because I have a small question ( de noob :))
I installed grafana with prometheus I did some testing and then I decided to do a simple and more complicated conf as I had done before.
So I made a simple configuration in prometheus:
Blockquote
The job name is added as a label job=<job_name>
to any timeseries scraped from this config.
-
job_name: ‘prometheus’
Override the global default and scrape targets from this job every 5 seconds.
scrape_interval: 5s
scrape_timeout: 5s -
job_name: ‘node_JSON’
file_sd_configs:- files:
- ‘/etc/prometheus/targets.json’
- files:
Blockquote
the prometheus works correctly it graph correctly.
But when I want to put it in grafana with node exporter dashbord grafana keeps me the old prometheus configs and does not take into account the new configuration.
I tried to empty the prometheus database but it persists.
Do you have any idea why the grafana doesn’t take into account the latest configuration?
Thank you in advance for your help.