Interface SpannerMetricsMXBean
- All Superinterfaces:
io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean,io.debezium.pipeline.metrics.traits.CommonEventMetricsMXBean,io.debezium.pipeline.metrics.traits.ConnectionMetricsMXBean,io.debezium.pipeline.metrics.traits.QueueMetricsMXBean,io.debezium.pipeline.metrics.traits.SchemaMetricsMXBean,io.debezium.pipeline.metrics.StreamingChangeEventSourceMetricsMXBean,io.debezium.pipeline.metrics.traits.StreamingMetricsMXBean
- All Known Implementing Classes:
SpannerStreamingChangeEventSourceMetrics
@MXBean
public interface SpannerMetricsMXBean
extends io.debezium.pipeline.metrics.StreamingChangeEventSourceMetricsMXBean
Spanner metrics which are available on JMX
-
Method Summary
Modifier and TypeMethodDescriptionvoidThis method finishes the current taskOwn latency of the Spanner ConnectorThe delay which Spanner connector waits for the next Change Stream EventintThe total number of Runtime errorsSpanner commit to Connector emit latencySpanner commit to Kafka publish latencyConnector emit to Kafka publish latencyConnector read latency to Connector emit latencySpanner commit to Connector read latencyThe Total Latency of the Spanner ConnectorThe low watermark: The timestamp T at which we have already received records with timestamp < TThe low watermark converted to the number of milliseconds from the epoch of 1970-01-01T00:00:00ZThe difference between the current clock time and the low watermarkintThe number of active partitions in the current taskintThe total number of partitions detected by the current taskintThe total number of issued queries in the current taskThe time duration between requesting and receiving offsets from Kafka ConnectThe time difference between now and the start of the partitionintThe number of actual responses during the last Rebalance EventintThe number of expected responses during the last Rebalance EventlongintThe remaining capacity of the change stream event QueueintThe total capacity of the Spanner QueueintThe number of intervals waiting but not receiving Heartbeat records from the Spanner Change StreamintThe remaining capacity of the task state change event queueThe internal state of the taskUnique identifier for the current taskbooleanisLeader()Returns "true", if task is currently acting as a leadervoidThis method restarts the current taskMethods inherited from interface io.debezium.pipeline.metrics.ChangeEventSourceMetricsMXBean
resetMethods inherited from interface io.debezium.pipeline.metrics.traits.CommonEventMetricsMXBean
getLastEvent, getMilliSecondsSinceLastEvent, getNumberOfErroneousEvents, getNumberOfEventsFiltered, getTotalNumberOfCreateEventsSeen, getTotalNumberOfDeleteEventsSeen, getTotalNumberOfEventsSeen, getTotalNumberOfUpdateEventsSeenMethods inherited from interface io.debezium.pipeline.metrics.traits.ConnectionMetricsMXBean
isConnectedMethods inherited from interface io.debezium.pipeline.metrics.traits.QueueMetricsMXBean
getCurrentQueueSizeInBytes, getMaxQueueSizeInBytes, getQueueRemainingCapacity, getQueueTotalCapacityMethods inherited from interface io.debezium.pipeline.metrics.traits.SchemaMetricsMXBean
getCapturedTablesMethods inherited from interface io.debezium.pipeline.metrics.traits.StreamingMetricsMXBean
getLastTransactionId, getMilliSecondsBehindSource, getNumberOfCommittedTransactions, getSourceEventPosition
-
Method Details
-
getLowWatermark
The low watermark: The timestamp T at which we have already received records with timestamp < T- Throws:
InterruptedException
-
getMilliSecondsLowWatermark
The low watermark converted to the number of milliseconds from the epoch of 1970-01-01T00:00:00Z- Throws:
InterruptedException
-
getMilliSecondsLowWatermarkLag
The difference between the current clock time and the low watermark- Throws:
InterruptedException
-
getLatencyLowWatermarkLagMinMilliSeconds
Long getLatencyLowWatermarkLagMinMilliSeconds() -
getLatencyLowWatermarkLagMaxMilliSeconds
Long getLatencyLowWatermarkLagMaxMilliSeconds() -
getLatencyLowWatermarkLagAvgMilliSeconds
Double getLatencyLowWatermarkLagAvgMilliSeconds() -
getLatencyLowWatermarkLagP50MilliSeconds
Double getLatencyLowWatermarkLagP50MilliSeconds() -
getLatencyLowWatermarkLagP95MilliSeconds
Double getLatencyLowWatermarkLagP95MilliSeconds() -
getLatencyLowWatermarkLagP99MilliSeconds
Double getLatencyLowWatermarkLagP99MilliSeconds() -
getNumberOfChangeStreamPartitionsDetected
int getNumberOfChangeStreamPartitionsDetected()The total number of partitions detected by the current task -
getNumberOfChangeStreamQueriesIssuedTotal
int getNumberOfChangeStreamQueriesIssuedTotal()The total number of issued queries in the current task -
getNumberOfActiveChangeStreamQueries
int getNumberOfActiveChangeStreamQueries()The number of active partitions in the current task -
getStuckHeartbeatIntervals
int getStuckHeartbeatIntervals()The number of intervals waiting but not receiving Heartbeat records from the Spanner Change Stream -
getDelayChangeStreamEventsLastMilliSeconds
Long getDelayChangeStreamEventsLastMilliSeconds()The delay which Spanner connector waits for the next Change Stream Event -
getDelayChangeStreamEventsP50MilliSeconds
Double getDelayChangeStreamEventsP50MilliSeconds() -
getDelayChangeStreamEventsP95MilliSeconds
Double getDelayChangeStreamEventsP95MilliSeconds() -
getDelayChangeStreamEventsP99MilliSeconds
Double getDelayChangeStreamEventsP99MilliSeconds() -
getErrorCount
int getErrorCount()The total number of Runtime errors -
getTaskSyncContext
String getTaskSyncContext()The internal state of the task -
getTaskUid
String getTaskUid()Unique identifier for the current task -
getLatencyTotalMinMilliSeconds
Long getLatencyTotalMinMilliSeconds()The Total Latency of the Spanner Connector -
getLatencyTotalMaxMilliSeconds
Long getLatencyTotalMaxMilliSeconds() -
getLatencyTotalAvgMilliSeconds
Double getLatencyTotalAvgMilliSeconds() -
getLatencyTotalP50MilliSeconds
Double getLatencyTotalP50MilliSeconds() -
getLatencyTotalP95MilliSeconds
Double getLatencyTotalP95MilliSeconds() -
getLatencyTotalP99MilliSeconds
Double getLatencyTotalP99MilliSeconds() -
getLatencySpannerMinMilliSeconds
Long getLatencySpannerMinMilliSeconds()Spanner commit to Connector read latency -
getLatencySpannerMaxMilliSeconds
Long getLatencySpannerMaxMilliSeconds() -
getLatencySpannerAvgMilliSeconds
Double getLatencySpannerAvgMilliSeconds() -
getLatencySpannerP50MilliSeconds
Double getLatencySpannerP50MilliSeconds() -
getLatencySpannerP95MilliSeconds
Double getLatencySpannerP95MilliSeconds() -
getLatencySpannerP99MilliSeconds
Double getLatencySpannerP99MilliSeconds() -
getLatencyReadToEmitMinMilliSeconds
Long getLatencyReadToEmitMinMilliSeconds()Connector read latency to Connector emit latency -
getLatencyReadToEmitMaxMilliSeconds
Long getLatencyReadToEmitMaxMilliSeconds() -
getLatencyReadToEmitAvgMilliSeconds
Double getLatencyReadToEmitAvgMilliSeconds() -
getLatencyReadToEmitP50MilliSeconds
Double getLatencyReadToEmitP50MilliSeconds() -
getLatencyReadToEmitP95MilliSeconds
Double getLatencyReadToEmitP95MilliSeconds() -
getLatencyReadToEmitP99MilliSeconds
Double getLatencyReadToEmitP99MilliSeconds() -
getLatencyCommitToEmitMinMilliSeconds
Long getLatencyCommitToEmitMinMilliSeconds()Spanner commit to Connector emit latency -
getLatencyCommitToEmitMaxMilliSeconds
Long getLatencyCommitToEmitMaxMilliSeconds() -
getLatencyCommitToEmitAvgMilliSeconds
Double getLatencyCommitToEmitAvgMilliSeconds() -
getLatencyCommitToEmitP50MilliSeconds
Double getLatencyCommitToEmitP50MilliSeconds() -
getLatencyCommitToEmitP95MilliSeconds
Double getLatencyCommitToEmitP95MilliSeconds() -
getLatencyCommitToEmitP99MilliSeconds
Double getLatencyCommitToEmitP99MilliSeconds() -
getLatencyCommitToPublishMinMilliSeconds
Long getLatencyCommitToPublishMinMilliSeconds()Spanner commit to Kafka publish latency -
getLatencyCommitToPublishMaxMilliSeconds
Long getLatencyCommitToPublishMaxMilliSeconds() -
getLatencyCommitToPublishAvgMilliSeconds
Double getLatencyCommitToPublishAvgMilliSeconds() -
getLatencyCommitToPublishP50MilliSeconds
Double getLatencyCommitToPublishP50MilliSeconds() -
getLatencyCommitToPublishP95MilliSeconds
Double getLatencyCommitToPublishP95MilliSeconds() -
getLatencyCommitToPublishP99MilliSeconds
Double getLatencyCommitToPublishP99MilliSeconds() -
getLatencyEmitToPublishMinMilliSeconds
Long getLatencyEmitToPublishMinMilliSeconds()Connector emit to Kafka publish latency -
getLatencyEmitToPublishMaxMilliSeconds
Long getLatencyEmitToPublishMaxMilliSeconds() -
getLatencyEmitToPublishAvgMilliSeconds
Double getLatencyEmitToPublishAvgMilliSeconds() -
getLatencyEmitToPublishP50MilliSeconds
Double getLatencyEmitToPublishP50MilliSeconds() -
getLatencyEmitToPublishP95MilliSeconds
Double getLatencyEmitToPublishP95MilliSeconds() -
getLatencyEmitToPublishP99MilliSeconds
Double getLatencyEmitToPublishP99MilliSeconds() -
getDebugLatencyOwnConnectorMinMilliSeconds
Long getDebugLatencyOwnConnectorMinMilliSeconds()Own latency of the Spanner Connector -
getDebugLatencyOwnConnectorMaxMilliSeconds
Long getDebugLatencyOwnConnectorMaxMilliSeconds() -
getDebugLatencyOwnConnectorAvgMilliSeconds
Double getDebugLatencyOwnConnectorAvgMilliSeconds() -
getDebugLatencyOwnConnectorLastMilliSeconds
Long getDebugLatencyOwnConnectorLastMilliSeconds() -
getDebugLatencyOwnConnectorP50MilliSeconds
Double getDebugLatencyOwnConnectorP50MilliSeconds() -
getDebugLatencyOwnConnectorP95MilliSeconds
Double getDebugLatencyOwnConnectorP95MilliSeconds() -
getDebugLatencyOwnConnectorP99MilliSeconds
Double getDebugLatencyOwnConnectorP99MilliSeconds() -
getPartitionOffsetLagMinMilliSeconds
Long getPartitionOffsetLagMinMilliSeconds()The time difference between now and the start of the partition -
getPartitionOffsetLagMaxMilliSeconds
Long getPartitionOffsetLagMaxMilliSeconds() -
getPartitionOffsetLagAvgMilliSeconds
Double getPartitionOffsetLagAvgMilliSeconds() -
getPartitionOffsetLagP50MilliSeconds
Double getPartitionOffsetLagP50MilliSeconds() -
getPartitionOffsetLagP95MilliSeconds
Double getPartitionOffsetLagP95MilliSeconds() -
getPartitionOffsetLagP99MilliSeconds
Double getPartitionOffsetLagP99MilliSeconds() -
getPartitionOffsetLagLastMilliSeconds
Long getPartitionOffsetLagLastMilliSeconds() -
getOffsetReceivingTimeMinMilliSeconds
Long getOffsetReceivingTimeMinMilliSeconds()The time duration between requesting and receiving offsets from Kafka Connect -
getOffsetReceivingTimeMaxMilliSeconds
Long getOffsetReceivingTimeMaxMilliSeconds() -
getOffsetReceivingTimeAvgMilliSeconds
Double getOffsetReceivingTimeAvgMilliSeconds() -
getOffsetReceivingTimeP50MilliSeconds
Double getOffsetReceivingTimeP50MilliSeconds() -
getOffsetReceivingTimeP95MilliSeconds
Double getOffsetReceivingTimeP95MilliSeconds() -
getOffsetReceivingTimeP99MilliSeconds
Double getOffsetReceivingTimeP99MilliSeconds() -
getOffsetReceivingTimeLastMilliSeconds
Long getOffsetReceivingTimeLastMilliSeconds() -
getSpannerEventQueueTotalCapacity
int getSpannerEventQueueTotalCapacity()The total capacity of the Spanner Queue -
getSpannerEventQueueRemainingCapacity
int getSpannerEventQueueRemainingCapacity()The remaining capacity of the change stream event Queue -
getTaskStateChangeEventQueueRemainingCapacity
int getTaskStateChangeEventQueueRemainingCapacity()The remaining capacity of the task state change event queue -
isLeader
boolean isLeader()Returns "true", if task is currently acting as a leader -
getRebalanceGenerationId
long getRebalanceGenerationId() -
getRebalanceAnswersActual
int getRebalanceAnswersActual()The number of actual responses during the last Rebalance Event -
getRebalanceAnswersExpected
int getRebalanceAnswersExpected()The number of expected responses during the last Rebalance Event -
finishTask
void finishTask()This method finishes the current task -
restartTask
void restartTask()This method restarts the current task
-