Skip to content

Conversation

dimitar-kostadinov
Copy link
Contributor

Proxy prometheus metrics introduced in #4047 uses labeled counters.
With this PR, counters values are initialized to 0 to mitigate the issue of missing metrics after a registry restart, as recommended here.

For more details related to the issue see Created Timestamps proposal.

…r registry restart

Signed-off-by: Dimitar Kostadinov <dimitar.kostadinov@sap.com>
@dimitar-kostadinov dimitar-kostadinov force-pushed the fix/prometheus_proxy_metrics branch from 2404350 to 6ca646c Compare February 21, 2024 12:38
@ialidzhikov
Copy link
Contributor

cc @milosgajdos

@ialidzhikov
Copy link
Contributor

@thaJeztah, @wy65701436, @squizzi can you help checking this PR?

@milosgajdos milosgajdos requested a review from Jamstah March 5, 2024 10:29
@Jamstah Jamstah added this to the Registry/3.0.0 milestone Mar 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/proxy Related to registry as a pull-through cache
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants