Versions Compared

Key

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

...

- job_name: opa
scrape_interval: 10s
metrics_path: /metrics
static_configs:
- targets:
- opa.default:8181

This will ebable enable metric collection from the opa /metrics endpoint:

The full ist is available here: Open Policy Agent Monitoring

Download the Open Policy Agent OPA metrics Dashboard dashboard from grafana and import it into your grafance instanceinstance Open Policy Agent Metrics Dashboard

In the instance drpdwon dropdown, type opa.default:8181 (assuming opa is running in the default namespace and etics metrics are being served on port 8181)

...