Skip to content

Commit

Permalink
[doc][broker][monitoring] Add doc for per-subscription EntryFilter me…
Browse files Browse the repository at this point in the history
…trics (apache#16976)
  • Loading branch information
tjiuming authored Aug 8, 2022
1 parent 805eba7 commit e530f34
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
14 changes: 13 additions & 1 deletion site2/docs/admin-api-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down Expand Up @@ -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,
Expand Down
4 changes: 4 additions & 0 deletions site2/docs/reference-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit e530f34

Please sign in to comment.