Skip to content

Commit

Permalink
[fix][doc] fix per-subscription EntryFilter metrics' doc (apache#17138)
Browse files Browse the repository at this point in the history
* update doc.

* update doc.

### Motivation

fix doc of apache#16932.

### Documentation

Check the box below or label this PR directly.

Need to update docs? 

- [ ] `doc-required` 
(Your PR needs to update docs and you will update later)
  
- [ ] `doc-not-needed` 
(Please explain why)
  
- [x] `doc` 
(Your PR contains doc changes)

- [ ] `doc-complete`
(Docs have been already added)
  • Loading branch information
tjiuming authored Aug 23, 2022
1 parent f506054 commit 423ab75
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions site2/docs/admin-api-topics.md
Original file line number Diff line number Diff line change
Expand Up @@ -417,13 +417,13 @@ You can check the following statistics of a given non-partitioned topic.

- **nonContiguousDeletedMessagesRangesSerializedSize**: The serialized size of non-contiguous deleted messages ranges.

- **throughEntryFilterMsgs**: The number of messages passes through `EntryFilter`.
- **filterProcessedMsgCount**: The number of messages processed by `EntryFilter`.

- **entryFilterAccepted**: The number of messages accepted by `EntryFilter`.
- **filterAcceptedMsgCount**: The number of messages accepted by `EntryFilter`.

- **entryFilterRejected**: The number of messages rejected by `EntryFilter`.
- **filterRejectedMsgCount**: The number of messages rejected by `EntryFilter`.

- **entryFilterRescheduled**: The number of messages rescheduled by `EntryFilter`.
- **filterRescheduledMsgCount**: The number of messages rescheduled by `EntryFilter`.

- **consumers**: The list of connected consumers for this subscription.

Expand Down Expand Up @@ -549,10 +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,
"filterProcessedMsgCount": 100,
"filterAcceptedMsgCount": 100,
"filterRejectedMsgCount": 0,
"filterRescheduledMsgCount": 0,
"consumers" : [ {
"msgRateOut" : 0.0,
"msgThroughputOut" : 0.0,
Expand Down
2 changes: 1 addition & 1 deletion site2/docs/reference-metrics.md
Original file line number Diff line number Diff line change
Expand Up @@ -444,7 +444,7 @@ 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_processed_msg_count | Counter | The number of messages processed by `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`. |
Expand Down

0 comments on commit 423ab75

Please sign in to comment.