{% if AURA_ENABLED == "true" %}
init_config:

instances:
  - openmetrics_endpoint: {{ AURA_ENDPOINT_URL }}
    namespace: auradb
    metrics:
      - neo4j_.*
    auth_token:
      reader:
        type: oauth
        url: https://api.neo4j.io/oauth/token
        client_id: {{ AURA_CLIENT_ID }}
        client_secret: {{ AURA_CLIENT_SECRET }}
      writer:
        type: header
        name: Authorization
        value: "Bearer <TOKEN>"
    service: auradb
{% endif %}