mirror of
https://github.com/open-policy-agent/opa.git
synced 2026-08-12 19:32:48 -06:00
69fbaacfde
Prometheus metrics can give much of insight into OPA's health. Run-time metrics are a natural part of the application state so having them in status update seems like a right change that can help server understand what's going in with the OPA instance. The commit also encapsulates all prometheus-related code in one package and abstracts it with generic interface so that it would be possible to add other metrics providers Addresses #1606 Signed-off-by: Stan Lagun <stan@styra.com>