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

Exponentation (`^`) operator does not drop metric name #5327

Closed
juliusv opened this Issue Mar 10, 2019 · 1 comment

Comments

Projects
None yet
2 participants
@juliusv
Copy link
Member

juliusv commented Mar 10, 2019

See http://demo.robustperception.io:9090/graph?g0.range_input=1h&g0.expr=up%20%5E%202&g0.tab=1

Like any other binary arithmetic operator, ^ should drop the metric name.

Reason is this line:

case itemADD, itemSUB, itemDIV, itemMUL, itemMOD:

@infoverload

This comment has been minimized.

Copy link
Contributor

infoverload commented Mar 10, 2019

I'll take a crack at this!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.