Class ChangeStreamMetrics

  • All Implemented Interfaces:
    java.io.Serializable

    @Internal
    public class ChangeStreamMetrics
    extends java.lang.Object
    implements java.io.Serializable
    Class to aggregate metrics related functionality.
    See Also:
    Serialized Form
    • Field Detail

      • LIST_PARTITIONS_COUNT

        public static final org.apache.beam.sdk.metrics.Counter LIST_PARTITIONS_COUNT
        Counter for the total number of partitions identified during the execution of the Connector.
      • PARTITION_SPLIT_COUNT

        public static final org.apache.beam.sdk.metrics.Counter PARTITION_SPLIT_COUNT
        Counter for the total number of partition splits / moves identified during the execution of the Connector.
      • PARTITION_MERGE_COUNT

        public static final org.apache.beam.sdk.metrics.Counter PARTITION_MERGE_COUNT
        Counter for the total number of partition merges identified during the execution of the Connector.
      • PARTITION_RECONCILED_WITH_TOKEN_COUNT

        public static final org.apache.beam.sdk.metrics.Counter PARTITION_RECONCILED_WITH_TOKEN_COUNT
        Counter for the total number of partitions reconciled with continuation tokens.
      • PARTITION_RECONCILED_WITHOUT_TOKEN_COUNT

        public static final org.apache.beam.sdk.metrics.Counter PARTITION_RECONCILED_WITHOUT_TOKEN_COUNT
        Counter for the total number of partitions reconciled without continuation tokens.
      • ORPHANED_NEW_PARTITION_CLEANED_COUNT

        public static final org.apache.beam.sdk.metrics.Counter ORPHANED_NEW_PARTITION_CLEANED_COUNT
        Counter for the total number of orphaned new partitions cleaned up.
      • HEARTBEAT_COUNT

        public static final org.apache.beam.sdk.metrics.Counter HEARTBEAT_COUNT
        Counter for the total number of heartbeats identified during the execution of the Connector.
      • CLOSESTREAM_COUNT

        public static final org.apache.beam.sdk.metrics.Counter CLOSESTREAM_COUNT
        Counter for the total number of heartbeats identified during the execution of the Connector.
      • CHANGE_STREAM_MUTATION_USER_COUNT

        public static final org.apache.beam.sdk.metrics.Counter CHANGE_STREAM_MUTATION_USER_COUNT
        Counter for the total number of ChangeStreamMutations that are initiated by users (not garbage collection) identified during the execution of the Connector.
      • CHANGE_STREAM_MUTATION_GC_COUNT

        public static final org.apache.beam.sdk.metrics.Counter CHANGE_STREAM_MUTATION_GC_COUNT
        Counter for the total number of ChangeStreamMutations that are initiated by garbage collection (not user initiated) identified during the execution of the Connector.
      • PROCESSING_DELAY_FROM_COMMIT_TIMESTAMP

        public static final org.apache.beam.sdk.metrics.Distribution PROCESSING_DELAY_FROM_COMMIT_TIMESTAMP
        Distribution for measuring processing delay from commit timestamp.
      • PARTITION_STREAM_COUNT

        public static final org.apache.beam.sdk.metrics.Counter PARTITION_STREAM_COUNT
        Counter for the total number of active partitions being streamed.
    • Constructor Detail

      • ChangeStreamMetrics

        public ChangeStreamMetrics()