Hi everyone :slightly_smiling_face: We recently c...
# dev
a
Hi everyone 🙂 We recently came into an issue where a namespace was full, and software were down due to failure to create topics. I was wondering if there was any way to detect this before hands using metrics ? The API allows us to have the maxTopicsPerNamespace, but not for all of them. Moreover, we can't really use the config key maxTopicsPerNamespace since some namespace have been customized to have a higher limit Any idea? Came up with the idea to contribute and add a metric about it, but it seems a bit more complicated that expected. (Not sure if that's the right channel to ask for this, let me know if somewhere else is more appropriate )
p
We can have namespace level metrics with the namespace label. For example pulsar_namespace_max_topics_limit, pulsar_namespace_max_topics_usage
a
Great ! There is a little conflict between topics metrics & namespace metrics, I believe. We need topic metrics, but we'd like aswell this namespace metric, and without a little refactoring it seems hard to achieve 😓
👋 Came up with this PR, hope it's fine !
p
Sure thanks, I will review it later.