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

[feat/query] Update the Prometheus-related code to utilize the new annotations package, and adjust the signatures of the query methods to support context passing. #4319

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

xufeng0832
Copy link

This PR Update the Prometheus-related code to support UTF - 8 for metric and label names, utilize the new annotations package, and adjust the signatures of the query methods to support context passing.

What this PR does / why we need it:
When a dot (.) is included in metrics or labels, it will cause the query to fail and prevent the retrieval of metrics.
Fixes #

Special notes for your reviewer:
No
Does this PR introduce a user-facing and/or backwards incompatible change?:
No

Does this PR require updating code package or user-facing documentation?:
Yes.However, my English is not very good, and I need assistance with updating the documentation.

…for metric and label names, utilize the new annotations package, and adjust the signatures of the query methods to support context passing.
@CLAassistant
Copy link

CLAassistant commented Jan 24, 2025

CLA assistant check
All committers have signed the CLA.

@xufeng0832 xufeng0832 changed the title [feat/query]更新普罗米修斯-相关代码以支持UTF-8... [feat/query] Update the Prometheus-related code to utilize the new annotations package, and adjust the signatures of the query methods to support context passing. Jan 24, 2025
@xufeng0832 xufeng0832 closed this Jan 24, 2025
@xufeng0832 xufeng0832 reopened this Jan 24, 2025
@xufeng0832 xufeng0832 closed this Jan 24, 2025
@xufeng0832 xufeng0832 reopened this Jan 24, 2025
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.

3 participants