You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by pe...@apache.org on 2022/08/08 09:10:54 UTC
[pulsar] branch master updated: [doc][broker][monitoring] Add doc for per-subscription EntryFilter metrics (#16976)
This is an automated email from the ASF dual-hosted git repository.
penghui 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 e530f34a4e6 [doc][broker][monitoring] Add doc for per-subscription EntryFilter metrics (#16976)
e530f34a4e6 is described below
commit e530f34a4e6afeefe8fbbdae0c3e7318eee99269
Author: Tao Jiuming <95...@users.noreply.github.com>
AuthorDate: Mon Aug 8 17:10:46 2022 +0800
[doc][broker][monitoring] Add doc for per-subscription EntryFilter metrics (#16976)
---
site2/docs/admin-api-topics.md | 14 +++++++++++++-
site2/docs/reference-metrics.md | 4 ++++
2 files changed, 17 insertions(+), 1 deletion(-)
diff --git a/site2/docs/admin-api-topics.md b/site2/docs/admin-api-topics.md
index 873dab7787b..2bdab4a4e60 100644
--- a/site2/docs/admin-api-topics.md
+++ b/site2/docs/admin-api-topics.md
@@ -415,7 +415,15 @@ You can check the following statistics of a given non-partitioned topic.
- **nonContiguousDeletedMessagesRanges**: The number of non-contiguous deleted messages ranges.
- - **nonContiguousDeletedMessagesRangesSerializedSize**: The serialized size of non-contiguous deleted messages ranges.
+ - **nonContiguousDeletedMessagesRangesSerializedSize**: The serialized size of non-contiguous deleted messages ranges.
+
+ - **throughEntryFilterMsgs**: The number of messages passes through `EntryFilter`.
+
+ - **entryFilterAccepted**: The number of messages accepted by `EntryFilter`.
+
+ - **entryFilterRejected**: The number of messages rejected by `EntryFilter`.
+
+ - **entryFilterRescheduled**: The number of messages rescheduled by `EntryFilter`.
- **consumers**: The list of connected consumers for this subscription.
@@ -541,6 +549,10 @@ The following is an example of a topic status.
"lastConsumedTimestamp" : 1623230583946,
"lastAckedTimestamp" : 1623230584033,
"lastMarkDeleteAdvancedTimestamp" : 1623230584033,
+ "throughEntryFilterMsgs": 100,
+ "entryFilterAccepted": 100,
+ "entryFilterRejected": 0,
+ "entryFilterRescheduled": 0,
"consumers" : [ {
"msgRateOut" : 0.0,
"msgThroughputOut" : 0.0,
diff --git a/site2/docs/reference-metrics.md b/site2/docs/reference-metrics.md
index d9f82f2690b..91df1b88f3a 100644
--- a/site2/docs/reference-metrics.md
+++ b/site2/docs/reference-metrics.md
@@ -444,6 +444,10 @@ All the subscription metrics are labelled with the following labels:
| pulsar_subscription_total_msg_expired | Gauge | The total number of messages expired on this subscription. |
| pulsar_subscription_msg_drop_rate | Gauge | The rate of messages dropped on this subscription (message per second). |
| pulsar_subscription_consumers_count | Gauge | The number of connected consumers on this subscription. |
+| pulsar_subscription_through_filter_msg_count | Counter | The number of messages passes through `EntryFilter`. |
+| pulsar_subscription_filter_accepted_msg_count | Counter | The number of messages accepted by `EntryFilter`. |
+| pulsar_subscription_filter_rejected_msg_count | Counter | The number of messages rejected by `EntryFilter`. |
+| pulsar_subscription_filter_rescheduled_msg_count | Counter | The number of messages rescheduled by `EntryFilter`. |
### Consumer metrics