Labels are single valued. Depending on what you're trying to do, you can: - add two different labels (and make two queries) - combined the values together into a single label, and use a regular expression when searching - make separate timeseries which have the aliases, and join on that in the query
For more info on the latter see https://www.robustperception.io/how-to-have-labels-for-machine-roles https://www.robustperception.io/exposing-the-software-version-to-prometheus https://www.robustperception.io/left-joins-in-promql https://prometheus.io/docs/prometheus/latest/querying/operators/#many-to-one-and-one-to-many-vector-matches -- 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/2e6d1f25-005d-40be-b98d-9842732bfa23n%40googlegroups.com.

