momo-jun commented on code in PR #14901:
URL: https://github.com/apache/pulsar/pull/14901#discussion_r849552177
##########
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 operations that
delete schemas failed. |
+| pulsar_schema_get_ops_failed_count | Counter | Number of operations that get
schemas failed. |
+| pulsar_schema_put_ops_failed_count | Counter | Number of operations that put
schemas failed. |
+| pulsar_schema_compatible_count | Counter | Number of schema compatible
operations. |
+| pulsar_schema_incompatible_count | Counter | Number of schema incompatible
operations. |
+| pulsar_schema_del_ops_latency | Summary | Latency of operations which delete
schema succeed. |
Review Comment:
```suggestion
| pulsar_schema_del_ops_latency | Summary | Latency of successful operations
to delete schemas. |
```
This sentence pattern applies to others.
--
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]