From 11c29cfcd74559cfb1f1d8d03ff4eb018011e0e9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Pompas?= Date: Mon, 16 Jan 2023 20:10:06 +0100 Subject: [PATCH] fix: error in syntax --- README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 887598e..9d6a179 100644 --- a/README.md +++ b/README.md @@ -17,10 +17,10 @@ Before we get started installing the stack, we need to make sure that the follow ## Installation and Configuration -If you would like to change which targets should be monitored, you can edit the ![prometheus.yml](prometheus/prometheus.yml) file. +If you would like to change which targets should be monitored, you can edit the [prometheus.yml](prometheus/prometheus.yml) file.
The targets section contains a list of all the targets that should be monitored by Prometheus.
The names defined in the `job_name` section are used to identify the targets in Grafana. -
The `static_configs` section contains the IP addresses of the targets that should be monitored. Actually, they are sourced from the service names defined in the ![docker-compose.yml](docker-compose.yml) file. +
The `static_configs` section contains the IP addresses of the targets that should be monitored. Actually, they are sourced from the service names defined in the [docker-compose.yml](docker-compose.yml) file.
If you think that the `scrape_interval` value is too aggressive, you can change it to a more suitable value. Once you have made the necessary changes, simply clone this repository and start the stack by running the following command: @@ -37,7 +37,7 @@ This will start all the containers and make them available on the host machine. The Grafana dashboard can be accessed by navigating to `http://:3000` in your browser for example `http://192.168.1.100:3000`.
The default username and password are both `admin`. You will be prompted to change the password on the first login. -
Credentials can be changed by editing the ![.env](grafana/.env) file. +
Credentials can be changed by editing the [.env](grafana/.env) file. In order to check if the stack is running correctly, you can run the following command: ```bash @@ -52,9 +52,9 @@ docker logs -f ## Add Data Sources and Dashboards Since Grafana v5 has introduced the concept of provisioning, it is possible to automatically add data sources and dashboards to Grafana. -
This is done by placing the `datasources` and `dashboards` directories in the ![provisioning](grafana/provisioning) folder. The files in these directories are automatically loaded by Grafana on startup. +
This is done by placing the `datasources` and `dashboards` directories in the [provisioning](grafana/provisioning) folder. The files in these directories are automatically loaded by Grafana on startup. -If you like to add a new dashboard, simply place the JSON file in the ![dashboards](grafana/provisioning/dashboards) directory, and it will be automatically loaded next time Grafana is started. +If you like to add a new dashboard, simply place the JSON file in the [dashboards](grafana/provisioning/dashboards) directory, and it will be automatically loaded next time Grafana is started. # Install Dashboard from Grafana.com @@ -73,7 +73,7 @@ Here is a screenshot of the dashboard: ## License -This project is licensed under the MIT License - see the ![LICENSE](LICENSE) file for details +This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details ## Troubleshooting