Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
languagebash
titleLaunch Prometheus
$ docker-compose up -d
# To check the logs
$ docker-compose logs