From ff2c2bdc931d011338e4a86a4069ccc6032807be Mon Sep 17 00:00:00 2001 From: Dragos Misca Date: Thu, 20 Jun 2024 17:58:05 -0700 Subject: [PATCH 1/2] Add draft metadata store metrics reference --- docs/reference-metrics-opentelemetry.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/docs/reference-metrics-opentelemetry.md b/docs/reference-metrics-opentelemetry.md index 0ec95c979b5a..42af7f9e7ec3 100644 --- a/docs/reference-metrics-opentelemetry.md +++ b/docs/reference-metrics-opentelemetry.md @@ -403,6 +403,22 @@ The maximum number of pending topic load operations in the broker. Equal to "max * Type: UpDownCounter * Unit: `{operation}` +### Metadata Store metrics + +#### pulsar.broker.metadata.store.outgoing.size +The total amount of data written to the metadata store. +* Type: Counter +* Unit: `{By}` +* Attributes: + * `pulsar.metadata.store.name` - The name of the metadata store. + +#### pulsar.broker.metadata.store.executor.queue.size +The number of blocking operations in the metadata store executor queue. +* Type: UpDownCounter +* Unit: `{operation}` +* Attributes: + * `pulsar.metadata.store.name` - The name of the metadata store. + ### Producer metrics #### pulsar.broker.producer.message.incoming.count From 528d943a6c23f921423a6fbdf0a39e5750c7a377 Mon Sep 17 00:00:00 2001 From: Dragos Misca Date: Mon, 24 Jun 2024 10:06:57 -0700 Subject: [PATCH 2/2] Fix metric description --- docs/reference-metrics-opentelemetry.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference-metrics-opentelemetry.md b/docs/reference-metrics-opentelemetry.md index 42af7f9e7ec3..4f337fcbbf36 100644 --- a/docs/reference-metrics-opentelemetry.md +++ b/docs/reference-metrics-opentelemetry.md @@ -413,7 +413,7 @@ The total amount of data written to the metadata store. * `pulsar.metadata.store.name` - The name of the metadata store. #### pulsar.broker.metadata.store.executor.queue.size -The number of blocking operations in the metadata store executor queue. +The number of batch operations in the metadata store executor queue. * Type: UpDownCounter * Unit: `{operation}` * Attributes: