momo-jun commented on code in PR #14901:
URL: https://github.com/apache/pulsar/pull/14901#discussion_r849991859
##########
site2/docs/reference-metrics.md:
##########
@@ -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 put schemas. |
+| pulsar_schema_compatible_count | Counter | Number of schema compatible. |
+| pulsar_schema_incompatible_count | Counter | Number of schema incompatible. |
+| 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 schema. |
Review Comment:
```suggestion
| pulsar_schema_get_ops_latency | Summary | Latency of successful operations
to get schemas. |
```
--
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]