Skip to content

Add `ParseWithVars` that allows to preserve variables in metricsql ex…

cb98770
Select commit
Loading
Failed to load commit list.
Open

support variables, that are passed instead of numbers #57

Add `ParseWithVars` that allows to preserve variables in metricsql ex…
cb98770
Select commit
Loading
Failed to load commit list.
Codecov / codecov/project succeeded Feb 16, 2026 in 0s

89.77% (+0.07%) compared to 8ec6569

View this Pull Request on Codecov

89.77% (+0.07%) compared to 8ec6569

Details

Codecov Report

❌ Patch coverage is 94.91525% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 89.77%. Comparing base (8ec6569) to head (cb98770).

Files with missing lines Patch % Lines
parser.go 91.30% 1 Missing and 1 partial ⚠️
lexer.go 96.96% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master      #57      +/-   ##
==========================================
+ Coverage   89.69%   89.77%   +0.07%     
==========================================
  Files          11       11              
  Lines        2969     3011      +42     
==========================================
+ Hits         2663     2703      +40     
- Misses        209      210       +1     
- Partials       97       98       +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.