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 bug with new promtail stream lag metric #5675

Merged
merged 1 commit into from
Mar 21, 2022

Conversation

cstyan
Copy link
Contributor

@cstyan cstyan commented Mar 19, 2022

This PR fixes a bug from my last PR (#5521) where labels might not be applied if they don't exist on the source stream, which will cause prometheus to panic due to incorrect label cardinality.

Signed-off-by: Callum Styan callumstyan@gmail.com

applied if they don't exist on the source stream

Signed-off-by: Callum Styan <callumstyan@gmail.com>
@cstyan cstyan requested a review from a team as a code owner March 19, 2022 02:44
Copy link
Contributor

@dannykopping dannykopping left a comment

Choose a reason for hiding this comment

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

LGTM

@dannykopping dannykopping merged commit 2c2578e into main Mar 21, 2022
@dannykopping dannykopping deleted the 20220318-stream-lag-bug branch March 21, 2022 10:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants