[feature][doc] Add schema metrics doc
@@ -111,6 +111,7 @@ The following metrics are available for broker:
- [Authentication metrics](#authentication-metrics)
- [Connection metrics](#connection-metrics)
- [Jetty metrics](#jetty-metrics)
+ - [Schema metrics](#schema-metrics)
- [Pulsar Functions](#pulsar-functions)
- [Proxy](#proxy)
- [Pulsar SQL Worker](#pulsar-sql-worker)
@@ -495,6 +496,25 @@ All the jetty metrics are labelled with the following labels:
| jetty_stats_seconds | Gauge | Time in seconds stats have been collected for. |
| jetty_responses_bytes_total | Counter | Total number of bytes across all responses. |
+### Schema metrics
+
+> For a functions-worker running separately from brokers, its schema metrics are only exposed when `includeStandardPrometheusMetrics` is set to `true`.
+
+All the schema metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster name that you have configured in the `broker.conf` file.
+
+| Name | Type | Description |
+|---|---|---|
+| pulsar_schema_del_ops_failed_count | Counter | Number of failed operations to delete schemas. |
+| pulsar_schema_get_ops_failed_count | Counter | Number of failed operations to get schemas. |
+| pulsar_schema_put_ops_failed_count | Counter | Number of failed operations to send schemas. |
+| pulsar_schema_compatible_count | Counter | Number of compatible schemas. |
+| pulsar_schema_incompatible_count | Counter | Number of incompatible schemas. |
+| pulsar_schema_del_ops_latency | Summary | Latency of successful operations to delete schemas. |
+| pulsar_schema_get_ops_latency | Summary | Latency of successful operations to get schemas. |
+| pulsar_schema_put_ops_latency | Summary | Latency of successful operations to send schemas. |
+
## Pulsar Functions
All the Pulsar Functions metrics are labelled with the following labels:
