Skip to content

Fix multiple or filters with non-identical __name__ (#50) #51

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

Merged
merged 1 commit into from
May 7, 2025

Conversation

atykhyy
Copy link
Contributor

@atykhyy atykhyy commented Apr 25, 2025

#43 added support for Prometheus 3.0 quoted metric names, but inadvertently broke time series selectors with multiple or filters when or groups contain explicit non-identical __name__ clauses (#50). This PR fixes the issue.

@jiekun jiekun requested review from possibull, hagen1778 and jiekun and removed request for possibull April 27, 2025 03:37
Copy link

codecov bot commented Apr 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 89.00%. Comparing base (682e8d8) to head (3c6b360).
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master      #51      +/-   ##
==========================================
+ Coverage   88.87%   89.00%   +0.13%     
==========================================
  Files          11       11              
  Lines        3650     3666      +16     
==========================================
+ Hits         3244     3263      +19     
+ Misses        308      306       -2     
+ Partials       98       97       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@f41gh7 f41gh7 self-assigned this May 7, 2025
Copy link
Contributor

@f41gh7 f41gh7 left a comment

Choose a reason for hiding this comment

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

LGTM

@f41gh7 f41gh7 merged commit fcfb7e2 into VictoriaMetrics:master May 7, 2025
3 checks passed
@f41gh7
Copy link
Contributor

f41gh7 commented May 7, 2025

Thanks for contribution!

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