Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Configuration

Arango requires a scrape configuration be added to the prometheus.yml.

Code Block
    - job_name: arangodb
      scrape_interval: 5s
      metrics_path: /_admin/metrics/v2
      bearer_token: eyJhbGciOiJIUzI1NiIsInR5cIkpXVCJ9.eyJwcmVmZXJyZWRfdXNlcm5hbWUiOiJyb290IiwiaXNzIjoiYXJhbmdvZGIiLCJpYXQiOjE2OTE2NjA4NTUsImV4cCI6MTY5MTY2NDQ1NX0.KzZlSXseLrBrRci9cZn_D9f97fSNHQABSTLbTSMi5VA
      static_configs:
      - targets: ['arango.development.svc:8529']

Arango automatically exports metrics to port 8529. However Arango does require a bearer_token to authenticate.