On 2021-09-15 12:16, PK wrote:
Hi everyone, Can anyone help me out in this.
I want a single time series for different combinations of label
values. Is it possible in Prometheus?
For example
let's say I want to display person name with salary. Here name will be
label and salary will be metric value:
metric__person(name:"abc") 40000
metric__person(name:"xyz") 60000
I WANT THEM IN A SINGLE LINE IN THE PROMETHEUS GRAPH WHERE ON VALUE
40000, IT SHOWS THE ABC AND ON 60000 IT SHOULD SHOW XYZ.
For this, I am getting like this: (prom example1)
I want like:(prom example2)
That sounds like you are wanting a different type of database to a
timeseries database, and also it isn't looking to be th emonitoring type
use case that Prometheus is designed for.
A time series database would have time as the X axis in a graph, as it
is expected that the value will be varying over time, with labels able
to group together related time series (e.g. different servers running
the same software).
--
Stuart Clark
--
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/b1e9e32cc38a386c5bb8245da4dc4a03%40Jahingo.com.