Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-8068

Oracle histogram metrics are no longer printed in logs correctly

XMLWordPrintable

      When the connector stops, we dump the output of the JMX metrics to the logs.  For the histogram metrics, this output is no longer usable, see below:

      2024-07-15 04:10:01,844 INFO  [io.deb.con.ora.log.LogMinerStreamingChangeEventSource] (debezium-oracleconnector-DBZ-change-event-source-coordinator) Streaming metrics dump: LogMinerStreamingChangeEventSourceMetrics{connectorConfig=io.debezium.connector.oracle.OracleConnectorConfig@39100b05, startTime=2024-07-14T12:49:29.182407769Z, clock=SystemClock[Z], currentScn=12341959735725, offsetScn=12341950686512, commitScn=12341955284435, oldestScn=12341950686513, oldestScnTime=2024-07-15T07:50:25Z, currentLogFileNames=[Ljava.lang.String;@1786d4ad, redoLogStatuses=[Ljava.lang.String;@e625314, databaseZoneOffset=Z, batchSize=100000, logSwitchCount=67, logMinerQueryCount=1112, sleepTime=0, minimumLogsMined=4, maximumLogsMined=4, maxBatchProcessingThroughput=322, timeDifference=0, processedRowsCount=41079380, activeTransactionCount=4, rolledBackTransactionCount=32589, oversizedTransactionCount=0, changesCount=1345436, scnFreezeCount=0, batchProcessingDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@406db638, fetchQueryDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@799cd513, commitDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@581e5531, lagFromSourceDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@44f857d5, miningSessionStartupDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@6909f504, parseTimeDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@7622817b, resultSetNextDuration=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$DurationHistogramMetric@5c3fe553, userGlobalAreaMemory=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$MaxLongValueMetric@5aff47fe, processGlobalAreaMemory=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$MaxLongValueMetric@7c783870, abandonedTransactionIds=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$LRUSet@1e3347dd, rolledBackTransactionIds=io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics$LRUSet@3d052c35} io.debezium.connector.oracle.logminer.LogMinerStreamingChangeEventSourceMetrics@7eb181f6 

            ccranfor@redhat.com Chris Cranford
            ccranfor@redhat.com Chris Cranford
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: