chore: rename examples folder (!94)

* Rename the `examples` folder to `_examples` to distinguish it from source code folders

https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/merge_requests/94
This commit is contained in:
Hector 2023-06-22 14:22:31 +00:00
parent 938860d5dc
commit 594d9f26a1
4 changed files with 4 additions and 1 deletions

View File

@ -31,6 +31,9 @@ $ fail2ban_exporter --collector.f2b.socket=/var/run/fail2ban/fail2ban.sock --web
Binary files for each release can be found on the [releases](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases) page. Binary files for each release can be found on the [releases](https://gitlab.com/hectorjsmith/fail2ban-prometheus-exporter/-/releases) page.
There is also an [example systemd service file](/_examples/systemd/fail2ban_exporter.service) included in the repository.
This is a starting point to run the exporter as a service.
### 1.2. Docker ### 1.2. Docker
**Docker run** **Docker run**
@ -100,7 +103,7 @@ Status for the jail: sshd
### 2.1. Grafana ### 2.1. Grafana
The metrics exported by this tool are compatible with Prometheus and Grafana. The metrics exported by this tool are compatible with Prometheus and Grafana.
A sample grafana dashboard can be found in the [grafana.json](/examples/grafana/dashboard.json) file. A sample grafana dashboard can be found in the [grafana.json](/_examples/grafana/dashboard.json) file.
Just import the contents of this file into a new Grafana dashboard to get started. Just import the contents of this file into a new Grafana dashboard to get started.
The dashboard supports displaying data from multiple exporters. Use the `instance` dashboard variable to select which ones to display. The dashboard supports displaying data from multiple exporters. Use the `instance` dashboard variable to select which ones to display.