I am trying to extract multiple metrics at once using a Signalflow query, but I am not sure if this is supported or just not undocumented.
One metric works fine:
| sim flow query=" data('k8s.hpa.current_replicas', filter............"
Wildcard matching metrics works fine too:
| sim flow query=" data('k8s.hpa*', filter............"
But I have not been able to extract multiple named metrics (not wildcarded). Something like this (not working!!!):
| sim flow query=" data('k8s.hpa.current_replicas k8s.hpa.max_replicas', filter............"
Any ideas on how to get this to work?
Hi @dmoberg
You could define multiple metrics as their own streams such as:
|sim flow resolution=5000 query="A = data('demo.trans.count', rollup='rate').publish(label='A');B = data('demo.trans.latency', rollup='rate').publish(label='B')"
| chart latest(_value) over _time by sf_streamLabel🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing
Hi @dmoberg
You could define multiple metrics as their own streams such as:
|sim flow resolution=5000 query="A = data('demo.trans.count', rollup='rate').publish(label='A');B = data('demo.trans.latency', rollup='rate').publish(label='B')"
| chart latest(_value) over _time by sf_streamLabel🌟 Did this answer help you? If so, please consider:
Your feedback encourages the volunteers in this community to continue contributing