Skip to content

Commit

Permalink
[feat][doc] PIP-264: Add replication subscription metrics reference (#…
Browse files Browse the repository at this point in the history
…941)

* [feat][doc] PIP-264: Add replication subscription metrics reference

* Apply to 4.0.x

---------

Co-authored-by: Lari Hotari <[email protected]>
  • Loading branch information
dragosvictor and lhotari authored Oct 29, 2024
1 parent 2ac7778 commit 000644e
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
16 changes: 16 additions & 0 deletions docs/reference-metrics-opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,3 +1081,19 @@ The total number of expired tokens.
The remaining time of expiring token in seconds.
* Type: Histogram
* Unit: `s`

### Replication Subscription Metrics

#### pulsar.broker.replication.subscription.snapshot.operation.count
The number of snapshot operations attempted.
* Type: Counter
* Unit: `{operation}`

#### pulsar.broker.replication.subscription.snapshot.operation.duration
Time taken to complete a consistent snapshot operation across clusters.
* Type: Histogram
* Unit: `s`
* Attributes:
* `pulsar.replication.subscription.snapshot.operation.result` - The result of the snapshot operation. Can be one of:
* `success`
* `timeout`
16 changes: 16 additions & 0 deletions versioned_docs/version-4.0.x/reference-metrics-opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -1081,3 +1081,19 @@ The total number of expired tokens.
The remaining time of expiring token in seconds.
* Type: Histogram
* Unit: `s`

### Replication Subscription Metrics

#### pulsar.broker.replication.subscription.snapshot.operation.count
The number of snapshot operations attempted.
* Type: Counter
* Unit: `{operation}`

#### pulsar.broker.replication.subscription.snapshot.operation.duration
Time taken to complete a consistent snapshot operation across clusters.
* Type: Histogram
* Unit: `s`
* Attributes:
* `pulsar.replication.subscription.snapshot.operation.result` - The result of the snapshot operation. Can be one of:
* `success`
* `timeout`

0 comments on commit 000644e

Please sign in to comment.