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

Add sanity check for label value #1012

Merged
merged 1 commit into from
Mar 9, 2024
Merged

Conversation

andysim3d
Copy link
Contributor

Add a sanity check when set info's label. value can't be null.
@csmarchbanks ptal.
fix #1011

@andysim3d andysim3d force-pushed the fix_1011 branch 2 times, most recently from 770b6a9 to b226e4d Compare March 3, 2024 04:27
Copy link
Member

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

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

Thank you! One tiny request, otherwise 👍

.gitignore Outdated Show resolved Hide resolved
Add sanity check for label value

Signed-off-by: Pengfei Zhang <andysim3d@gmail.com>
Copy link
Member

@csmarchbanks csmarchbanks left a comment

Choose a reason for hiding this comment

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

Thank you!

@csmarchbanks csmarchbanks merged commit 4535ce0 into prometheus:master Mar 9, 2024
11 checks passed
btimby pushed a commit to btimby/client_python that referenced this pull request Aug 2, 2024
Signed-off-by: Pengfei Zhang <andysim3d@gmail.com>
Signed-off-by: Ben Timby <btimby@gmail.com>
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.

Using None as a label value breaks exposure of all metrics
2 participants