We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Found another small issue with the following query:
histogram_quantile(0.9999,sum(irate(metric_histogram{a=~'(1|2|3)',b=~'(1|2|3)',c=~'(1|2|3)',d=~'(1|2|3)'}[1m])) by(a,b,c))
seems that multiple labels from by aggregator are not parsed properly.
The text was updated successfully, but these errors were encountered:
Hey @ocervell! thanks for the full query, I'm testing it now and I'll try to find what is happening with those labels.
Sorry, something went wrong.
53ab9ce
I figured out the issue here and I merged this fix #8. Now, the output for that expression is formatted properly using:
pygmentize -f png -O "line_numbers=False,style=monokai" -o example.png example.promql
The new release 0.0.7 is now available on PyPI https://pypi.org/project/pygments-promql/
Thanks again @ocervell for helping to improve this lexer and please don't hesitate to share any future issue.
pabluk
No branches or pull requests
Found another small issue with the following query:
seems that multiple labels from by aggregator are not parsed properly.
The text was updated successfully, but these errors were encountered: