I am trying to understand how best to distinguish metrics that are
associated with distinct instances of tasks in our system. I see that the
(golang) systemd collector uses variableLabels to do this.
E.g.
node_systemd_unit_state{name="dh-etcd.service",state="active",type="notify"}
1
I would like to do something similar from the Java client, but I don't see
any such attribute in Gauge.java, et al. The Java API seems to only allow
numeric valued labels. Am I missing something?
Thanks,
Paul
--
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/993f9193-cb5c-40fa-a007-9819deaa5d91n%40googlegroups.com.