Skip to content

Add sanity check for label value - #1012

Merged
csmarchbanks merged 1 commit into
prometheus:masterfrom
andysim3d:fix_1011
Mar 9, 2024
Merged

Add sanity check for label value#1012
csmarchbanks merged 1 commit into
prometheus:masterfrom
andysim3d:fix_1011

Conversation

@andysim3d

Copy link
Copy Markdown
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

@csmarchbanks csmarchbanks left a comment

Copy link
Copy Markdown
Member

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 👍

Comment thread .gitignore Outdated
Comment thread prometheus_client/metrics.py Outdated
Add sanity check for label value

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

@csmarchbanks csmarchbanks left a comment

Copy link
Copy Markdown
Member

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
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

2 participants