This is an automated email from the ASF dual-hosted git repository.
technoboy pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/pulsar-site.git
The following commit(s) were added to refs/heads/main by this push:
new ec4b68448941 [feat][broker] PIP-264: Add schema registry metrics (#892)
ec4b68448941 is described below
commit ec4b68448941c31f2f6c88fe4943bc7e000ea393
Author: Dragos Misca <[email protected]>
AuthorDate: Tue Jun 11 20:01:29 2024 -0700
[feat][broker] PIP-264: Add schema registry metrics (#892)
---
docs/reference-metrics-opentelemetry.md | 27 +++++++++++++++++++++++++++
1 file changed, 27 insertions(+)
diff --git a/docs/reference-metrics-opentelemetry.md
b/docs/reference-metrics-opentelemetry.md
index 8c43f58800e5..d1c7224a0503 100644
--- a/docs/reference-metrics-opentelemetry.md
+++ b/docs/reference-metrics-opentelemetry.md
@@ -402,3 +402,30 @@ The number of pending topic load operations in the broker.
When it reaches thres
The maximum number of pending topic load operations in the broker. Equal to
"maxConcurrentTopicLoadRequest" defined in broker.conf.
* Type: UpDownCounter
* Unit: `{operation}`
+
+### Schema Registry Metrics
+
+#### pulsar.broker.request.schema_registry.duration
+The duration of Schema Registry requests
+* Type: Histogram
+* Unit: `s`
+* Attributes:
+ * `pulsar.namespace` - The namespace referred by the Schema Registry request
+ * `pulsar.schema_registry.request` - The Schema Registry request type
+ * `get`
+ * `list`
+ * `put`
+ * `delete`
+ * `pulsar.schema_registry.response` - The Schema Registry response type
+ * `success`
+ * `failure`
+
+#### pulsar.broker.operation.schema_registry.compatibility_check.count
+The number of Schema Registry compatibility check operations performed by the
broker.
+* Type: Counter
+* Unit: `{operation}`
+* Attributes:
+ * `pulsar.namespace` - The namespace referred by the compatibility check
operation
+ * `pulsar.schema_registry.compatibility_check.response` - The compatibility
check response type
+ * `compatible`
+ * `incompatible`