Metrics use the labels from kubernetes. If your kubernetes tenant use specific labels like namespace etc. those will be used in the metrics automatically.
On Mon, Jun 8, 2020, 4:16 PM Manoj Guglani <[email protected]> wrote: > Hi, > > I am working on integrating prometheus for our microservices platform > deployed on kubernetes. A question came up during review about being able > to correlate counters across services so thought of asking it here. > Consider a case where adding a new tenant results in multiple services > changing some state, e.g. one service could be making update to a database, > another one updating configuration, etc. Can we use labels or some other > mechanism to correlate the counters or is this not recommended? > > Thanks, > > Manoj > > -- > 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/f49de2d8-7b7d-4b39-9225-839a2522b93co%40googlegroups.com > <https://groups.google.com/d/msgid/prometheus-users/f49de2d8-7b7d-4b39-9225-839a2522b93co%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAKimyZuTsU02Y%2BxKXXdJJi_krWD_JTVn4W%3DmXcxzyupFL4T74Q%40mail.gmail.com.

