Skip to content

Commit ad83e8d

Browse files
committed
Added Configuring prometheus block
1 parent 8fc014d commit ad83e8d

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

README.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,24 @@ This results in an ArangoDB Exporter exposing all statistics of
1818
the ArangoDB server (running at `http://<your-database-host>:8529`)
1919
at `http://<your-host-ip>:9101/metrics`.
2020

21+
## Configuring Prometheus
22+
23+
There are several ways to configure Prometheus to fetch metrics from the ArangoDB Exporter.
24+
25+
Below you're find a sample Prometheus configuration file that can be used to fetch
26+
metrics from an ArangoDB exporter listening on localhost port 9101 (without TLS).
27+
28+
```yaml
29+
global:
30+
scrape_interval: 15s
31+
scrape_configs:
32+
- job_name: arangodb
33+
static_configs:
34+
- targets: ['localhost:9101']
35+
```
36+
37+
For more info on configuring Prometheus go to [its configuration documentation](https://prometheus.io/docs/prometheus/latest/configuration/configuration).
38+
2139
## Building
2240
2341
To build this project, you need Go 1.8 or higher and Docker installed.

0 commit comments

Comments
 (0)