From 9a68bf544278e27ad65afb77edc12cd242e37004 Mon Sep 17 00:00:00 2001 From: Abhishek Singh Date: Wed, 28 Feb 2024 09:06:55 +0530 Subject: [PATCH] prometheus: update doc --- doc/prometheus.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/prometheus.md b/doc/prometheus.md index 513abe8f..efffdbc4 100644 --- a/doc/prometheus.md +++ b/doc/prometheus.md @@ -1,6 +1,8 @@ # Prometheus -Prometheus is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. +[Prometheus] is a systems and service monitoring system. It collects metrics from configured targets at given intervals, evaluates rule expressions, displays the results, and can trigger alerts when specified conditions are observed. + +[Prometheus]: https://github.com/prometheus/prometheus ## Getting Started @@ -17,11 +19,9 @@ Prometheus is a systems and service monitoring system. It collects metrics from {#scrape-configs} ### Adding Scrape Configs -`scrape_configs`, controls what resources Prometheus monitor. - -Since Prometheus also exposes data about itself as an HTTP endpoint it can scrape and monitor its own health. In the [default example configuration](https://github.com/prometheus/prometheus/blob/3f686cad8bee405229b2532584ef181ce9f6a8b3/documentation/examples/prometheus.yml) there is a single job, called prometheus. +`scrape_configs` controls what resources Prometheus monitors. -To add `scrape_configs`, we can use the following config: +Since Prometheus also exposes data about itself as an HTTP endpoint it can scrape and monitor its own health. In the [default example configuration](https://github.com/prometheus/prometheus/blob/3f686cad8bee405229b2532584ef181ce9f6a8b3/documentation/examples/prometheus.yml) there is a single job, called prometheus. We can add it to `scrape_configs` using the following config: ```nix {