Hi Zarah,
On 2019-06-17 10:32, Zarah Diarras wrote:
> Hi Christian, here are the screenshots of the prometheus.service and
> prometheus.yml files.
There seem to be some yaml indentation problems. yaml is very sensitive
to whitespace (e.g. your two scrape_configs entries are indented
differently; the global scrape_interval does not look correct either).
Compare your config with one of the example configs [1] again, try
restarting Prometheus and watch out for configuration errors/warnings.
If nothing shows up, check the parsed configuration by accessing
http://localhost:9090/config
Kind regards,
Christian
[1]
https://github.com/prometheus/prometheus/blob/master/documentation/examples/prometheus.yml