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

fix: always contains path label if configured #5433

Merged
merged 1 commit into from
Dec 19, 2024

Conversation

waynexia
Copy link
Member

Which issue does this PR close?

Closes #.

Rationale for this change

Grand unstoppable panic after switching to the built-in PrometheusLayer 🥲

What changes are included in this PR?

At least for Prometheus client, we should always provide a label set with the same length. Current implementation will ignore the "path" label if path is empty.

Are there any user-facing changes?

bugfix

Copy link
Member

@Zheaoli Zheaoli left a comment

Choose a reason for hiding this comment

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

LGTM

@Zheaoli Zheaoli merged commit f8221a3 into apache:main Dec 19, 2024
239 checks passed
@waynexia waynexia deleted the fix-path-label branch December 24, 2024 07:13
waynexia added a commit to GreptimeTeam/opendal that referenced this pull request Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants