Skip to content

Commit

Permalink
[feat][doc] PIP-264: Add managed ledger metrics reference
Browse files Browse the repository at this point in the history
  • Loading branch information
dragosvictor committed Jun 27, 2024
1 parent 881d57e commit ec32d0a
Showing 1 changed file with 72 additions and 0 deletions.
72 changes: 72 additions & 0 deletions docs/reference-metrics-opentelemetry.md
Original file line number Diff line number Diff line change
Expand Up @@ -576,6 +576,78 @@ The total number of messages dropped from this producer.
* `wait_for_exclusive`
* `exclusive_with_fencing`

### Managed Ledger metrics

#### pulsar.broker.managed_ledger.message.outgoing.count
The number of write operations to this ledger.
* Type: UpDownCounter
* Unit: `{operation}`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.
* `pulsar.managed_ledger.operation.status` - The status of the managed ledger operation. Can be one of:
* `success`
* `failure`

#### pulsar.broker.managed_ledger.message.outgoing.logical.size
The total number of messages bytes written to this ledger, excluding replicas.
* Type: Counter
* Unit: `By`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

#### pulsar.broker.managed_ledger.message.outgoing.replicated.size
The total number of messages bytes written to this ledger, including replicas.
* Type: Counter
* Unit: `By`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

#### pulsar.broker.managed_ledger.backlog.count
The number of messages in backlog for all consumers from this ledger.
* Type: UpDownCounter
* Unit: `{message}`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

#### pulsar.broker.managed_ledger.message.incoming.count
The number of read operations from this ledger.
* Type: UpDownCounter
* Unit: `{operation}`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.
* `pulsar.managed_ledger.operation.status` - The status of the managed ledger operation. Can be one of:
* `success`
* `failure`

#### pulsar.broker.managed_ledger.message.incoming.size
The total number of messages bytes read from this ledger.
* Type: Counter
* Unit: `By`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

#### pulsar.broker.managed_ledger.message.incoming.cache.miss.count
The number of cache misses during read operations from this ledger.
* Type: UpDownCounter
* Unit: `{operation}`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

#### pulsar.broker.managed_ledger.mark_delete.count
The total number of mark delete operations for this ledger.
* Type: Counter
* Unit: `{operation}`
* Attributes:
* `pulsar.namespace` - The managed ledger namespace.
* `pulsar.managed_ledger.name` - The name of the managed ledger.

### Schema Registry Metrics

#### pulsar.broker.request.schema_registry.duration
Expand Down

0 comments on commit ec32d0a

Please sign in to comment.