...
Prometheus collects metrics of monitored targets by scraping the HTTP endpoints of these targets. Since Prometheus himself exposes his internal metrics through the same mechanism, it is possible to scrape and monitor his health through the same mechanism.
Now let's launch the background service with the command
Code Block | ||||
---|---|---|---|---|
| ||||
$ docker-compose up -d
# To check the logs
$ docker-compose logs |