Skip to content

Conversation

@x418
Copy link

@x418 x418 commented Jan 30, 2026

What & Why?

Implement ConfigDiscoveryHook.OnConfigDiscovery() for PrometheusOverride to enable Prometheus status metrics when using discovery bundles.

#3631 added support to also expose native OPA metrics via Skipper's metrics endpoint. This PR extends it by also ensuring that we also enable it when using discovery bundles

TODO: Extract some reusable methods if this is the way we want to go

…PA status metrics

## What & Why?

Implement ConfigDiscoveryHook.OnConfigDiscovery() for PrometheusOverride to enable Prometheus status metrics when using discovery bundles.

zalando#3631 added support to also expose native OPA metrics via Skipper's metrics endpoint. This PR extends it by also ensuring that we also enable it when using discovery bundles
Signed-off-by: Santhosh Kannan <[email protected]>
@zalando-robot
Copy link

Cannot start a pipeline due to:

No accountable user for this pipeline: no Zalando employee associated to this GitHub username

Click on pipeline status check Details link below for more information.

@x418 x418 changed the title fix: implement ConfigDiscoveryHook for PrometheusOverride to enable O… fix: implement ConfigDiscoveryHook for PrometheusOverride to enable OPA status metrics Jan 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants