Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

benjaminp
Copy link
Contributor

Scraping generally doesn't support null label values and can throw NPEs at various points. It's easiest to debug such problems at the point null is introduced.

Signed-off-by: Benjamin Peterson [email protected]

@zeitlinger
Copy link
Member

looks good - can you add a test case?

Scraping generally doesn't support null label values and can throw NPEs at various points. It's easiest to debug such problems at the point null is introduced.

Signed-off-by: Benjamin Peterson <[email protected]>
@benjaminp
Copy link
Contributor Author

Thank you for the review. Test added

@zeitlinger zeitlinger merged commit 2625cb1 into prometheus:main Apr 29, 2025
4 checks passed
@zeitlinger
Copy link
Member

thanks for the contribution

@benjaminp benjaminp deleted the null-label-values branch April 29, 2025 14:06
dao-jun pushed a commit to dao-jun/client_java that referenced this pull request May 15, 2025
Scraping generally doesn't support null label values and can throw NPEs
at various points. It's easiest to debug such problems at the point null
is introduced.

Signed-off-by: Benjamin Peterson <[email protected]>

Signed-off-by: Benjamin Peterson <[email protected]>
Signed-off-by: dao-jun <[email protected]>
dao-jun pushed a commit to dao-jun/client_java that referenced this pull request May 15, 2025
Scraping generally doesn't support null label values and can throw NPEs
at various points. It's easiest to debug such problems at the point null
is introduced.

Signed-off-by: Benjamin Peterson <[email protected]>

Signed-off-by: Benjamin Peterson <[email protected]>
Signed-off-by: dao-jun <[email protected]>
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.

2 participants