It's completely fine to use names in label values. `department="Some Nice People"` is a completely normal and valid thing to do.
On Sun, Jun 7, 2020 at 2:59 PM Srihari Jonnalagadda < [email protected]> wrote: > Hi. I’m quite new to Prometheus. I want to store metrics based on an 'ID' > property (name can be editable) but wish to provide user a friendly name of > the respective entity in the dashboard. e.g. You track metrics by > department with an internal Department ID but wish to use the department > name in the dashboard showing department metrics. Should we map ID -> Name > outside prometheus after querying? > > Thanks in advance and stay safe! > -- > > > *This mail contains confidential information intended only for the > individual(s) named. If you’re not the named addressee, don’t disseminate, > distribute or copy this e-mail. Please notify the sender immediately and > delete it from your system.If you wish not to receive such e-mails you may > reply with text “Unsubscribe”.* > > > > > > > > -- > 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/c99a5d06-8b8f-479a-9315-e2d3296978cfo%40googlegroups.com > . > -- 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/CABbyFmqGTmuWGbWFaBjH-sxnksx%2BExQZEtL_SEJHO7KmfCd8%2Bw%40mail.gmail.com.

