Skip to content

Commit

Permalink
Added Configuring prometheus block
Browse files Browse the repository at this point in the history
  • Loading branch information
ewoutp committed Apr 27, 2018
1 parent 8fc014d commit ad83e8d
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,24 @@ This results in an ArangoDB Exporter exposing all statistics of
the ArangoDB server (running at `http://<your-database-host>:8529`)
at `http://<your-host-ip>:9101/metrics`.

## Configuring Prometheus

There are several ways to configure Prometheus to fetch metrics from the ArangoDB Exporter.

Below you're find a sample Prometheus configuration file that can be used to fetch
metrics from an ArangoDB exporter listening on localhost port 9101 (without TLS).

```yaml
global:
scrape_interval: 15s
scrape_configs:
- job_name: arangodb
static_configs:
- targets: ['localhost:9101']
```
For more info on configuring Prometheus go to [its configuration documentation](https://prometheus.io/docs/prometheus/latest/configuration/configuration).
## Building
To build this project, you need Go 1.8 or higher and Docker installed.
Expand Down

0 comments on commit ad83e8d

Please sign in to comment.