Skip to main content

Module metrics

Module metrics 

Source

Structs§

METRIC_KAFKA_APPEND_BATCH_BYTES_TOTAL
Counter of bytes of the append_batch operation on the kafka logstore.
METRIC_KAFKA_APPEND_BATCH_ELAPSED
Timer of the append_batch operation on the kafka logstore.
METRIC_KAFKA_CLIENT_BYTES_TOTAL
METRIC_KAFKA_CLIENT_PRODUCE_ELAPSED
METRIC_KAFKA_CLIENT_TRAFFIC_TOTAL
METRIC_KAFKA_READ_BYTES_TOTAL
Counter of bytes of the read operation on the kafka logstore.
METRIC_KAFKA_READ_ELAPSED
Timer of the append_batch operation on the kafka logstore. This timer only measures the duration of the read operation, not measures the total duration of replay.
METRIC_LOGSTORE_OP_BYTES_TOTAL
Counters of bytes of each operation on a logstore.
METRIC_LOGSTORE_OP_ELAPSED
Timer of operations on a logstore.
METRIC_OBJECT_STORE_WAL_APPEND_ACK_SECONDS
How long an append of the object store logstore waits for its acknowledgement in the durable mode, which is the write latency a caller sees.
METRIC_OBJECT_STORE_WAL_CREATED_OBJECTS_TOTAL
Counter of conditional creates of the object store logstore that succeeded, an identical retry that found its own object included. A create that failed is counted in the create failure or conflict counter instead.
METRIC_OBJECT_STORE_WAL_CREATE_CONFLICTS_TOTAL
Counter of conditional creates of the object store logstore that found an object with different content. In the durable mode an object of an earlier epoch fails the batch like a transient failure; any other conflict poisons the store.
METRIC_OBJECT_STORE_WAL_CREATE_FAILURES_TOTAL
Counter of conditional creates of the object store logstore the object store did not confirm, which fail the appends behind them in the durable mode and are repeated in the enqueued mode.
METRIC_OBJECT_STORE_WAL_DELETED_OBJECTS_TOTAL
Counter of objects the object store logstore deleted because no region needs them any more.
METRIC_OBJECT_STORE_WAL_FAILED_DELETES_TOTAL
Counter of object deletes of the object store logstore that failed and are attempted again at the next collection.
METRIC_OBJECT_STORE_WAL_FAILING
Number of object store logstores in the enqueued mode whose backlog the object store refuses with an error that repeating the create cannot settle, such as denied access or a missing bucket. Such a store keeps its backlog, attempts it again with backoff and rejects appends until a create succeeds.
METRIC_OBJECT_STORE_WAL_INDEXED_BYTES
Bytes of the objects the object store logstore has indexed, which is what the WAL occupies under its prefix.
METRIC_OBJECT_STORE_WAL_INDEXED_OBJECTS
Number of objects the object store logstore has indexed, which is what a recovery of the prefix would have to read.
METRIC_OBJECT_STORE_WAL_MISSING_HISTORY_ACCEPTED_TOTAL
Counter of regions the object store logstore let open although its prefix does not hold their WAL history, because accept_missing_history is set; their writes that were not flushed are lost.
METRIC_OBJECT_STORE_WAL_OBJECT_BYTES
How large the objects of the object store logstore are, which says whether batches seal on size or on the flush interval.
METRIC_OBJECT_STORE_WAL_OBJECT_ENTRIES
How many entries the objects of the object store logstore hold, which says how many writes one request amortises.
METRIC_OBJECT_STORE_WAL_POISONED_TOTAL
Counter of object store logstores that hit an error they cannot recover from, after which every operation of the store fails until it reopens.
METRIC_OBJECT_STORE_WAL_READ_SECONDS
How long a read stream of the object store logstore took to serve the replay of one region, recorded once the stream has been read to its end; one that fails or is dropped part way records nothing.
METRIC_OBJECT_STORE_WAL_RECOVERED_OBJECTS_TOTAL
Counter of objects a recovery of the object store logstore that succeeded read footers from, which is what its time is spent on. It counts the objects of the same recoveries the timer above measures, so an abandoned one contributes to neither.
METRIC_OBJECT_STORE_WAL_RECOVERY_SECONDS
How long a recovery of the object store logstore that succeeded took to rebuild its catalog, which is the part of a restart the WAL is responsible for. A recovery that was abandoned records nothing.
METRIC_OBJECT_STORE_WAL_REJECTED_APPENDS_TOTAL
Counter of appends the object store logstore rejected while its backlog is refused, see the gauge above. They take no entry id and fail with a retryable error. Releases of dropped regions failed in that state count too; their records wait for the next object.
METRIC_OBJECT_STORE_WAL_RELEASE_RECORDS_TOTAL
Counter of release records in the objects the object store logstore indexed, including records carried over from batches that failed.
METRIC_OBJECT_STORE_WAL_SEAL_TO_DURABLE_SECONDS
How long an object of the object store logstore takes to become durable once its batch is sealed, sampled for every conditional create that succeeds, an identical retry included. The time runs from the seal, so it includes any wait for a create slot and, in the enqueued mode, every repeated attempt and the delay before it.
METRIC_OBJECT_STORE_WAL_SKIPPED_SEGMENTS_TOTAL
Counter of segments a read of the object store logstore skipped because they did not decode.
METRIC_OBJECT_STORE_WAL_STALLED_APPENDS_TOTAL
Counter of appends the object store logstore held back until an upload completed: in either mode because the sealed batches waiting to become durable left no room for another, and in the enqueued mode also because the unpersisted backlog reached a threshold. Either says the write rate is above what the uploads sustain.
METRIC_OBJECT_STORE_WAL_STALLED_APPEND_SECONDS
How long such an append stays held back, until it is admitted or until it is refused, a stop, a terminal error or the teardown of the store releasing it included, which is the latency the enqueued mode pays once the backlog is at a threshold.
METRIC_RAFT_ENGINE_APPEND_BATCH_BYTES_TOTAL
Counter of bytes of the append_batch operation on the raft-engine logstore.
METRIC_RAFT_ENGINE_APPEND_BATCH_ELAPSED
Timer of the append_batch operation on the raft-engine logstore.
METRIC_RAFT_ENGINE_READ_BYTES_TOTAL
Counter of bytes of the read operation on the raft-engine logstore.
METRIC_RAFT_ENGINE_READ_ELAPSED
Timer of the append_batch operation on the raft-engine logstore. This timer only measures the duration of the read operation, not measures the total duration of replay.

Constants§

LOGSTORE_LABEL
Logstore label.
OPTYPE_LABEL
Operation type label.
PARTITION_LABEL
Kafka partition label.
TOPIC_LABEL
Kafka topic label.