Graphite metric search using the OR operation
Asked by
Sumeet Grover
I am trying to fetch a list of metrics via the Render URL API in Graphite, such that only one of the matches are returned. For example, the following, hypothetical scenario:
os.redhat.
os.redhat.
So I want to fetch the following for all the disks such that if they are not recording "pct_size_used", the API should return their "pct_inodes_used" metric instead, but in cases where both metrics are recorded, API should only return the "pct_size_used":
os.redhat.
Any ideas how to do this? I know Graphite uses the Glob function internally to search for metrics, and Glob function does not support any such operation.
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Graphite Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- Sumeet Grover
- Solved:
- Last query:
- Last reply:
To post a message you must log in.