hangc0276 commented on issue #13971:
URL: https://github.com/apache/pulsar/issues/13971#issuecomment-1023834400
> @hangc0276 Sounds good - will try that out. Sounds like this can be closed
then?
>
> UPDATE: BTW @hangc0276 if we turn on
`bookkeeperClientExposeStatsToPrometheus` how many new metrics will be exposed?
We have significant load on our Prometheus/Victoria systems and just wondering
how many new metrics will be added per broker. Thanks!
It will expose the bookie client metrics, those metrics list blow.
```
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_0
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_0{cluster="standalone"}
8
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_1
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_1{cluster="standalone"}
12
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_2
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_2{cluster="standalone"}
5
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_3
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_completed_tasks_3{cluster="standalone"}
3
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_0 gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_0{cluster="standalone"}
1
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_1 gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_1{cluster="standalone"}
4
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_2 gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_2{cluster="standalone"}
2
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_3 gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_queue_3{cluster="standalone"}
3
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_0
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_0{cluster="standalone"}
9
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_1
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_1{cluster="standalone"}
16
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_2
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_2{cluster="standalone"}
7
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_3
gauge
pulsar_managedLedger_client_bookkeeper_ml_scheduler_total_tasks_3{cluster="standalone"}
6
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution
summary
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.5"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.75"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.95"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.99"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="0.9999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="false", quantile="1.0"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution_count{cluster="standalone",
success="false"} 0
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution_sum{cluster="standalone",
success="false"} 0.0
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.5"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.75"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.95"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.99"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="0.9999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution{cluster="standalone",
success="true", quantile="1.0"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution_count{cluster="standalone",
success="true"} 30
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_execution_sum{cluster="standalone",
success="true"} 116.0
# TYPE pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued
summary
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.5"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.75"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.95"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.99"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="0.9999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="false", quantile="1.0"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued_count{cluster="standalone",
success="false"} 0
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued_sum{cluster="standalone",
success="false"} 0.0
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.5"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.75"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.95"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.99"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="0.9999"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued{cluster="standalone",
success="true", quantile="1.0"} NaN
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued_count{cluster="standalone",
success="true"} 30
pulsar_managedLedger_client_bookkeeper_ml_scheduler_task_queued_sum{cluster="standalone",
success="true"} 116.0
```
--
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]