pgier opened a new issue, #19554: URL: https://github.com/apache/pulsar/issues/19554
### Search before asking - [X] I searched in the [issues](https://github.com/apache/pulsar/issues) and found nothing similar. ### Motivation It can be useful in to combine metrics by the pulsar tenant or namespace. Currently this is difficult to do by tenant because there is no distinct tenant label. There is only the `namespace` label which has the format `<pulsar-tenant>/<pulsar-namespace>`. ### Solution Add new two new labels to prometheus metrics: `pulsar_tenant` and `pulsar_namespace`. This would allow metrics to easily be grouped by tenant, and the `pulsar_namespace` label would avoid confusion with the kubernetes namespace. We should also keep the current `namespace` label, but consider deprecating it and eventually remove it in some future release. ### Alternatives _No response_ ### Anything else? _No response_ ### Are you willing to submit a PR? - [X] I'm willing to submit a PR! -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
