Class SpannerMetricNames
java.lang.Object
io.github.flink.gcp.connector.spanner.SpannerMetricNames
Every metric name this connector registers, in one place.
Counters name the event that happened (recordsSkipped), gauges name the state they
read (bufferedCells), and no name takes Flink's num prefix — a name meaning the
same thing in another connector of this project is spelled the same way there.
Deliberately absent: the names Flink itself provides through SinkWriterMetricGroup
(numRecordsSend, numBytesSend, numRecordsSendErrors) and through the
source's own groups (numRecordsIn, unassignedSplits), and the templated leaves of
the shared base.metrics subgroups (errorClass.CODE.errors) — none of them is this
connector's to name.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringChange Streams TVF partition queries currently open in one reader subtask.static final StringBatch write requests the writer sent, first attempts and re-sends alike.static final StringEstimated bytes of the mutations held in the writer's batch.static final StringMutation cells held in the writer's batch, counted the way Spanner counts a mutation — index entries included.static final StringMutations held in the writer's batch, waiting for the next flush.static final StringColumn metadata and value occurrences removed from records delivered to the deserializer.static final StringFinished parent IDs retained while a Change Streams child awaits another parent.static final StringUnfinished partition entries held in the Change Streams coordinator ledger.static final StringChild partition tokens first accepted into the Change Streams coordinator ledger.static final StringChange Streams TVF partition queries opened, including restored reopens.static final StringData-change records removed by a Change Streams table filter.static final StringData-change records skipped after column projection left no reported non-key values.static final StringWait for the most recently returned non-heartbeat Change Streams result.static final StringLongest wait for a returned non-heartbeat Change Streams result in this task attempt.static final StringMaximum whole heartbeat intervals missed by any active non-initial partition query.static final StringMutations re-sent after a transient failure.static final StringPartitions opened again from their start after a wake-up cancelled them part-way, delivering the rows they had already handed on a second time.static final StringLag of the oldest assigned Change Streams partition waiting for a query slot.static final StringAssigned Change Streams partitions waiting for a query slot in one reader subtask.static final StringReads planned into partitions.static final StringRecords the sink serializer skipped or source inputs whose deserializer emitted nothing.static final StringInput rows accepted from a partition into fetch batches.static final StringPartition splits handed to a reader.static final StringPartition splits a failed reader gave back, to be handed out again.static final StringLag of the oldest scheduled Change Streams partition no reader owns yet. -
Method Summary
-
Field Details
-
BUFFERED_MUTATIONS
Mutations held in the writer's batch, waiting for the next flush.- See Also:
-
BUFFERED_CELLS
Mutation cells held in the writer's batch, counted the way Spanner counts a mutation — index entries included.- See Also:
-
BUFFERED_BYTES
Estimated bytes of the mutations held in the writer's batch.- See Also:
-
RECORDS_SKIPPED
Records the sink serializer skipped or source inputs whose deserializer emitted nothing.- See Also:
-
MUTATIONS_RETRIED
Mutations re-sent after a transient failure. Counted per re-send, so one mutation retried three times contributes three — the question it answers is how much work the retry loop is doing, not how many mutations were unlucky.- See Also:
-
BATCHES_SENT
Batch write requests the writer sent, first attempts and re-sends alike.- See Also:
-
SPLITS_ASSIGNED
Partition splits handed to a reader.- See Also:
-
SPLITS_RETURNED
Partition splits a failed reader gave back, to be handed out again.- See Also:
-
CHANGE_STREAM_PARTITIONS_DISCOVERED
Child partition tokens first accepted into the Change Streams coordinator ledger.- See Also:
-
UNASSIGNED_CHANGE_STREAM_PARTITION_LAG_MILLIS
Lag of the oldest scheduled Change Streams partition no reader owns yet.- See Also:
-
CHANGE_STREAM_PARTITION_LEDGER_ENTRIES
Unfinished partition entries held in the Change Streams coordinator ledger.- See Also:
-
CHANGE_STREAM_FINISHED_PARENT_PROOFS
Finished parent IDs retained while a Change Streams child awaits another parent.- See Also:
-
READS_PLANNED
Reads planned into partitions. One per job at most: a restored enumerator plans nothing, so this reads1on a fresh run and0on a restored one.- See Also:
-
ROWS_READ
Input rows accepted from a partition into fetch batches.- See Also:
-
PARTITIONS_REREAD
Partitions opened again from their start after a wake-up cancelled them part-way, delivering the rows they had already handed on a second time.- See Also:
-
CHANGE_STREAM_QUERIES_STARTED
Change Streams TVF partition queries opened, including restored reopens.- See Also:
-
ACTIVE_CHANGE_STREAM_QUERIES
Change Streams TVF partition queries currently open in one reader subtask.- See Also:
-
QUEUED_CHANGE_STREAM_PARTITIONS
Assigned Change Streams partitions waiting for a query slot in one reader subtask.- See Also:
-
QUEUED_CHANGE_STREAM_PARTITION_LAG_MILLIS
Lag of the oldest assigned Change Streams partition waiting for a query slot.- See Also:
-
MISSED_HEARTBEAT_INTERVALS
Maximum whole heartbeat intervals missed by any active non-initial partition query.- See Also:
-
LAST_CHANGE_STREAM_RECORD_WAIT_MILLIS
Wait for the most recently returned non-heartbeat Change Streams result.- See Also:
-
LONGEST_CHANGE_STREAM_RECORD_WAIT_MILLIS
Longest wait for a returned non-heartbeat Change Streams result in this task attempt.- See Also:
-
CHANGE_STREAM_RECORDS_FILTERED_BY_TABLE
Data-change records removed by a Change Streams table filter.- See Also:
-
CHANGE_STREAM_RECORDS_SKIPPED_WITHOUT_CHANGE
Data-change records skipped after column projection left no reported non-key values.- See Also:
-
CHANGE_STREAM_COLUMN_OCCURRENCES_FILTERED
Column metadata and value occurrences removed from records delivered to the deserializer.- See Also:
-