Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[doc][monitoring][metadata] metadata store metrics doc #17088

Merged
merged 5 commits into from
Sep 22, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions site2/docs/reference-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ The following metrics are available for broker:
- [Schema metrics](#schema-metrics)
- [Offload metrics](#offload-metrics)
- [Web service executor metrics](#web-service-executor-metrics)
- [Metadata store metrics](#metadata-store-metrics)
- [Pulsar Functions](#pulsar-functions)
- [Proxy](#proxy)
- [Pulsar SQL Worker](#pulsar-sql-worker)
Expand Down Expand Up @@ -602,6 +603,19 @@ All the web service executor metrics are labeled with the following labels:
| pulsar_web_executor_active_threads | GAUGE | The number of threads performing tasks of pulsar-web thread pool |
| pulsar_web_executor_current_threads | GAUGE | The number of threads in the pulsar-web thread pool |

### Metadata store metrics

All the metadata store metrics are labelled with the following labels:

- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster name that you configured in `broker.conf`.
- *name*: `name=${metadata-store|configuration-metadata-store|state-metadata-store}`. `${name}` is the metadata store name.

| Name | Type | Description |
|----------------------------------------|-----------|----------------------------------------------------------------------------------------------|
| pulsar_metadata_store_ops_latency | Histogram | The latency of getting/deleting/putting data fail/success operations from/to metadata store. |
| pulsar_metadata_store_put_bytes_total | Counter | The number of data put to metadata store. |


## Pulsar Functions

All the Pulsar Functions metrics are labeled with the following labels:
Expand Down