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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/c99a5d06-8b8f-479a-9315-e2d3296978cfo%40googlegroups.com.
Thanks for the prompt reply. Does that mean we shouldn’t be modifying dept name once it has been created. what if we have department name editable?
--
*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 prometheus-use...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/prometheus-users/8d843605-df84-4b1f-b868-297110fb3022o%40googlegroups.com.
Ya It creates a new time series. I don’t want to split up the data. So thats the reason I have chosen the ID(dept-1) instead of name(Some Nice People) as a label value. But then stuck with this question “how to provide user friendly name(Some Nice People) in the query responses?”