You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by rx...@apache.org on 2020/05/25 02:43:15 UTC
[pulsar] branch master updated: Add the pulsar functions metrics
(#7016)
This is an automated email from the ASF dual-hosted git repository.
rxl pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new cd77772 Add the pulsar functions metrics (#7016)
cd77772 is described below
commit cd777729c0ad50a31a0bb74dd1dd73bdde8f3a29
Author: 冉小龙 <rx...@apache.org>
AuthorDate: Mon May 25 10:43:03 2020 +0800
Add the pulsar functions metrics (#7016)
Signed-off-by: xiaolong.ran <rx...@apache.org>
---
site2/docs/reference-metrics.md | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/site2/docs/reference-metrics.md b/site2/docs/reference-metrics.md
index 7c95836..127e5d7 100644
--- a/site2/docs/reference-metrics.md
+++ b/site2/docs/reference-metrics.md
@@ -15,6 +15,7 @@ Pulsar exposes metrics in Prometheus format that can be collected and used for m
* [ZooKeeper](#zookeeper)
* [BookKeeper](#bookkeeper)
* [Broker](#broker)
+* [Pulsar Functions](#pulsar functions)
* [Proxy](#proxy)
## Overview
@@ -322,6 +323,27 @@ All the consumer metrics are labelled with the following labels:
| pulsar_consumer_msg_throughput_out | Gauge | The total message dispatch throughput for a consumer (bytes/second). |
| pulsar_consumer_available_permits | Gauge | The available permits for for a consumer. |
+# Pulsar Functions
+
+All the Pulsar Functions metrics are labelled with the following labels:
+
+- *cluster*: `cluster=${pulsar_cluster}`. `${pulsar_cluster}` is the cluster name that you configured in `broker.conf`.
+- *namespace*: `namespace=${pulsar_namespace}`. `${pulsar_namespace}` is the namespace name.
+
+| Name | Type | Description |
+|---|---|---|
+| pulsar_function_processed_successfully_total | Counter | Total number of messages processed successfully. |
+| pulsar_function_processed_successfully_total_1min | Counter | Total number of messages processed successfully in the last 1 minute. |
+| pulsar_function_system_exceptions_total | Counter | Total number of system exceptions. |
+| pulsar_function_system_exceptions_total_1min | Counter | Total number of system exceptions in the last 1 minute. |
+| pulsar_function_user_exceptions_total | Counter | Total number of user exceptions. |
+| pulsar_function_user_exceptions_total_1min | Counter | Total number of user exceptions in the last 1 minute. |
+| pulsar_function_process_latency_ms | Summary | Process latency in milliseconds. |
+| pulsar_function_process_latency_ms_1min | Summary | Process latency in milliseconds in the last 1 minute. |
+| pulsar_function_last_invocation | Gauge | The timestamp of the last invocation of the function. |
+| pulsar_function_received_total | Counter | Total number of messages received from source. |
+| pulsar_function_received_total_1min | Counter | Total number of messages received from source in the last 1 minute. |
+
# Proxy
All the proxy metrics are labelled with the following labels: