Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upSupport binary operators on different labels #393
Comments
This was referenced Jan 28, 2015
brian-brazil
referenced this issue
Feb 5, 2015
Closed
Support left/right_elementwise for operators #506
This comment has been minimized.
This comment has been minimized.
|
@fabxc pointed out that this syntax isn't quite right, and following discussion something more like |
brian-brazil
referenced this issue
Feb 22, 2015
Closed
Use only ip:port or host:port in instance label #493
This comment has been minimized.
This comment has been minimized.
|
Example: From which side should the |
This comment has been minimized.
This comment has been minimized.
|
That's incorrect usage as we're expecting type to only be on one side, so an error of some form would seem appropriate. |
fabxc
referenced this issue
Feb 24, 2015
Merged
or operation and vector matching opts implemented #554
This comment has been minimized.
This comment has been minimized.
juliusv
closed this
Mar 3, 2015
simonpasquier
pushed a commit
to simonpasquier/prometheus
that referenced
this issue
Oct 12, 2017
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 24, 2019
|
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
brian-brazil commentedJun 5, 2014
I have some cpu variables:
instance_mode:node_cpu:rate5m{mode="idle"} 8
instance_mode:node_cpu:rate5m{mode="user"} 10
and I'd like to divide them by:
instance:node_num_cpus:sum 2
and get as output:
{mode="idle"} 4
{mode="user"} 5
This currently won't work, I'd like to be able to do something like:
instance_mode:node_cpu:rate5m
/ MODIFIER by (instance, mode)
instance:node_num_cpus:sum
We need a modifier to tell us which operand is which for this behaviour. I'm thinking maybe pivot_left/pivot_right or group_left/group_right as modifier names, whatever we choose it must be obvious which is which.