You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pulsar.apache.org by GitBox <gi...@apache.org> on 2022/09/15 09:30:50 UTC
[GitHub] [pulsar] visortelle edited a discussion: Missing namespaces metrics
GitHub user visortelle edited a discussion: Missing namespaces metrics
Hello. I have the following question:
Let’s say I have two topics:
- persistent://tenant-1/ns-1/to-1
- persistent://tenant-1/ns-2/to-2
For each of the topics, there is pulsar-perf produce -mk random <topic> that runs more for an hour.
```scala
// Scala code with Pulsar Java admin client.
val adminClient = PulsarAdmin.builder().serviceHttpUrl(config.pulsarProxyUrl).build()
val metricsJson = adminClient.brokerStats().getMetrics()
```
Does anyone have an idea why `metricsJson` contains metrics for ONLY ONE of the namespace?
On another set of topics, it also looks like a random thing for me.
Pulsar 2.10.1
```
"org.apache.pulsar" % "pulsar-client-admin-original" % "2.10.1"
```
Thank you.
GitHub link: https://github.com/apache/pulsar/discussions/17656
----
This is an automatically sent email for dev@pulsar.apache.org.
To unsubscribe, please send an email to: dev-unsubscribe@pulsar.apache.org