hangc0276 commented on issue #13971:
URL: https://github.com/apache/pulsar/issues/13971#issuecomment-1022826486
Hi @frankjkelly , we have already added the bookie quarantined metrics, but
it doesn't expose by default, because it is a bookie client metric.
The metric name is
`pulsar_managedLedger_client_bookkeeper_client_BOOKIE_QUARANTINE` and the type
is `Counter`
You can use the following PromQL to get metrics:
```
sum(irate(pulsar_managedLedger_client_bookkeeper_client_BOOKIE_QUARANTINE{job=$job_name,
instance=~$instance_name}[1m])) by (instance)
```
If you want to expose this metric, you should turn on it in `broker.conf`
```
bookkeeperClientExposeStatsToPrometheus=true
```
--
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]