FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Add sanity check for label value by andysim3d · Pull Request #1012 · prometheus/client_python · GitHub

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

Copy link
Copy Markdown
Contributor

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

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

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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

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

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thank you!

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>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL