-
Notifications
You must be signed in to change notification settings - Fork 8.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for graphing multiple unrelated timeseries (metrics) in one graph #39
Comments
The console templates graph library supports this, we'd have to hook it into /graph though. |
+1 |
3 similar comments
+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.
|
@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 ***@***.***> 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
<#39 (comment)>,
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). |
Add note about memory usage during build.
+1 to this request |
This is supported by Grafana's Explore, which is now available in |
I was digging through issues for possible GSoC projects, so are we still keen on adding this into Prometheus? |
I think yes, but it's probably not large enough for a GSoC project. Maybe a day or so... |
…e-go1.12 Remove patches required for Go < 1.12
At this point, we should only consider this for the new ReactUI. |
There are two separate reasons this would be nice:
(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:
|
I'm trying to deal w/ the fact that alertmanager likes to send queries to prometheus of the form:
I'd really prefer alertmanager to be able to send this query to prometheus of the form:
the difference being w/ |
@jsoref I assume you are talking about the links back from Alertmanager to the generator of an alert (usually Prometheus), or generally being able to graph alert rule expressions with thresholds extracted somehow into their own visual indicator (vs. filtering). Prometheus does not have a concept of a "threshold" per se, it just accepts arbitrary PromQL expressions in alerting rules, and those may or may not contain threshold-ish constructs in various places. So it's unfortunately not automatically possible to do such a thing in the Prometheus alerting model. |
@juliusv: yes, those. I'm not defining
It's possible for some reason that I'd want the second line to have a slope, or a quadratic, or a cubic, or a logarithmic function instead of a constant value. It just happens that for the average prometheus/alertmanager, what I want for that second metric is a constant value (= Given a magical |
If the labels are different you can use |
@juliusv: so, I see this as having these pieces:
If my magical I don't see how
and I get this message:
|
You can try |
That works. (Could the error suggest that?) |
Discussed at bug-scrub: consensus was that projects such as Grafana and Perses cover this need, so we can close this issue. |
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 text was updated successfully, but these errors were encountered: