Skip to content

Commit

Permalink
fix: error in syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
APO-Axione committed Jan 16, 2023
1 parent 6032a1b commit 11c29cf
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
<br/>The targets section contains a list of all the targets that should be monitored by Prometheus.
<br/>The names defined in the `job_name` section are used to identify the targets in Grafana.
<br/>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.
<br/>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.
<br/>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:
Expand All @@ -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://<host-ip>:3000` in your browser for example `http://192.168.1.100:3000`.
<br/>The default username and password are both `admin`. You will be prompted to change the password on the first login.
<br/>Credentials can be changed by editing the ![.env](grafana/.env) file.
<br/>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
Expand All @@ -52,9 +52,9 @@ docker logs -f <container-name>
## 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.
<br/>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.
<br/>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

Expand All @@ -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

Expand Down

0 comments on commit 11c29cf

Please sign in to comment.