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 upmetrics with same metric name cannot use binary arithmetic operators to calculate. #4365
Comments
This comment has been minimized.
This comment has been minimized.
|
Any ideas? Many thanks. |
This comment has been minimized.
This comment has been minimized.
|
Thanks for your report. It looks as if this is actually a question about usage and not development. no crash, no panic = support question To make support question, and all replies, easier to find, I suggest you move this to our user mailing list. If you haven't looked already you might find your answer in the official docs and examples or by searching in the users or devs groups. If you think this is not purely a support question, feel free to comment in here or in the dev mailing list. Once your questions have been answered, please add a link to the solution to help other Prometheans in trouble reaching this from a search |
krasi-georgiev
closed this
Jul 10, 2018
This comment has been minimized.
This comment has been minimized.
|
It works by ignore "mode" label, because by default Prometheus wants to match all labels on both sides:
Wish could help others. |
This comment has been minimized.
This comment has been minimized.
|
Thanks! |
This comment has been minimized.
This comment has been minimized.
lock
bot
commented
Mar 22, 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. |
cauwulixuan commentedJul 10, 2018
Proposal
Use case. Why is this important?
Nice to have' is not a good use case :)
Bug Report
What did you do?
I have defined a metric name "hadoop_namenode_fsname_system_capacity_bytes" with different labels.
And metrics can be scraped like:
Now I want to calculate
capacity_used_ratiousing:What did you expect to see?
The result of the calculation.
What did you see instead? Under which circumstances?
no data
Environment
System information:
insert output of
uname -srmherePrometheus version:
insert output of
prometheus --versionhereAlertmanager version:
insert output of
alertmanager --versionhere (if relevant to the issue)Prometheus configuration file: