Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix overlapping metric registrations #67

Merged

Conversation

simonswine
Copy link
Contributor

@simonswine simonswine commented Jul 27, 2023

This fixes a problem when multiple metrics bucket are registered with different names. Also adds a test so this won't be happening in the future.

This does not have an impact to the resulting metrics.

@simonswine simonswine force-pushed the 20230727_allow-two-bucket-clients branch 2 times, most recently from 667691b to 5d8153b Compare July 27, 2023 09:14
@simonswine simonswine marked this pull request as ready for review July 27, 2023 09:16
@simonswine simonswine force-pushed the 20230727_allow-two-bucket-clients branch from 5d8153b to e218ba3 Compare July 27, 2023 09:22
This fixes a problem when multiple metrics bucket are regsitered with
different names. Also adds a test so this won't be happening in the
future.

Signed-off-by: Christian Simon <[email protected]>
@simonswine simonswine force-pushed the 20230727_allow-two-bucket-clients branch from e218ba3 to c8b2d20 Compare July 27, 2023 12:10
Copy link
Contributor

@matej-g matej-g left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, thanks for the fix 🙇

@kakkoyun kakkoyun enabled auto-merge (squash) August 4, 2023 08:41
@kakkoyun kakkoyun merged commit a3fe9c5 into thanos-io:main Aug 4, 2023
6 checks passed
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.

3 participants