It should be possible to correlate multiple metrics in the same graph. The graphing UI should show (dynamically) multiple expression input fields to enable that.
The console templates graph library supports this, we'd have to hook it into /graph though.
+1
+1
+1
+1
~3 years on are we any closer to this happening? @brian-brazil
@alexellis No, nobody has spent time on this yet as far as I know.
What about this query? It seems to work.
{__name__=~"node_filefd_allocated|node_filefd_maximum"}
@mindfulmonk That works, but has the downside of giving you back all data in one expression, and especially if you apply any transformation that will drop the metric name (rate, increase, sum, avg, etc.), then you won't know anymore what is what.
@davkal added a hack to the Cortex UI to allow multiple queries separated
by semicolons. @juliusv do you think that might work here?
On Wed, 31 May 2017 at 15:50, Julius Volz notifications@github.com wrote:
@mindfulmonk https://github.com/mindfulmonk That works, but has the
downside of giving you back all data in one expression, and especially if
you apply any transformation that will drop the metric name (rate,
increase, sum, avg, etc.), then you won't know anymore what is what.—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/prometheus/prometheus/issues/39#issuecomment-305210735,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbGhQXG3gRkgAMhL3izXj6lIgc9zZJXks5r_X4lgaJpZM4AYIZW
.
That really seems hacky to me (and could theoretically even conflict with future language changes). If we decide to do this in Prometheus itself at all, I'd prefer a full UI solution to this that allows you to add multiple input fields - either underneath each other or tabbed (like in OpenTSDB).
+1 to this request
This is supported by Grafana's Explore, which is now available in grafana/grafana:latest as part of the Beta for the upcoming 6.0 release (and no longer behind a feature flag).
I was digging through issues for possible GSoC projects, so are we still keen on adding this into Prometheus?
/cc @juliusv
I think yes, but it's probably not large enough for a GSoC project. Maybe a day or so...
At this point, we should only consider this for the new ReactUI.
There are two separate reasons this would be nice:
It's usually convenient to share horizontal axis — shifting/zooming time range in sync between all plots.
Overlaying different data on same plot and same vertical scale is sometimes desirable, sometimes confusing.
(1) is just UX convenience, you can simulate it now by copying same end time and range to all plots. But maybe it'd be acceptable to make this always the case — show the time range widgets only once for whole page — since when you want separate time scales you can always use multiple browser tabs?
For (2) there are several possible UI models:
Most helpful comment
What about this query? It seems to work.
{__name__=~"node_filefd_allocated|node_filefd_maximum"}