The Prometheus UI is deliberately not a dashboard. Grafana already does
that and much better than we could.
time series identifiers always have a structure like
*name*{*label1*="*value1*",*label2*="*value2*"}
with or without a name (both your examples to not have a name); with zero
or more label-value pairs (your first example has one, the second example
none).
/MR
On Thu, Apr 9, 2020 at 4:20 PM Robin Pharaoh <[email protected]>
wrote:
> Thank you for the response. I am looking into the grafana link you sent
> me, though I do think this is still a prometheus question.
>
> If we are using the prometheus UI, we still see the element / value
> columns. And I know certain queries will return just a label for the
> element name, but I can't seem to figure out why they do.
>
> another example is
>
> sum(max_over_time(http_server_requests_seconds_count{
> status="200"}[30m:5m]))
>
> which simply returns
>
> {} *value*
>
> On Thursday, April 9, 2020 at 12:09:37 PM UTC-4, Brian Candler wrote:
>>
>> How to process the results of a prometheus query in grafana is a grafana
>> question. See:
>>
>> https://community.grafana.com/t/extract-labels-values-from-prometheus-metrics/2087/9
>>
>> When you are using dashboard variables set by prometheus queries, you can
>> also use regular expressions to capture values out of the labels.
>>
> --
> You received this message because you are subscribed to the Google Groups
> "Prometheus Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/prometheus-users/527db5d7-54cd-48bb-98ee-a22f97235dc5%40googlegroups.com
> <https://groups.google.com/d/msgid/prometheus-users/527db5d7-54cd-48bb-98ee-a22f97235dc5%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/prometheus-users/CAMV%3D_gYr0g9wsHEa27q5z8-VPXoECx--nvapEvtsjGfPruZiog%40mail.gmail.com.