You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,24 @@ This results in an ArangoDB Exporter exposing all statistics of
18
18
the ArangoDB server (running at `http://<your-database-host>:8529`)
19
19
at `http://<your-host-ip>:9101/metrics`.
20
20
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
+
21
39
## Building
22
40
23
41
To build this project, you need Go 1.8 or higher and Docker installed.
0 commit comments