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

Expose more useful metrics and improve Grafana dashboard

    XMLWordPrintable

    Details

      Description

      DBZ-776 provided basic metrics for the new framework-based connectors (Oracle and SQL Server currently, Postgres following soon, see DBZ-777).

      We should add more useful metrics:

      • Lag behind master
      • Number of TX
      • Position in source log (currently part of the "event" string, but it should be a separate field; atm. we call toString() on the SourceInfo struct, which kinda works, but exposes some redundant information. Instead, there should be a dedicated method OffsetContext#asLogString() for this purpose)
      • Actual size of internal event queue (if it's constantly near to its max capacity, it indicates some issue)
      • ...

      These should also be exposed in the Grafana dashboard we provide in the examples project. Related to this, the dashboard should also be able to expose all the additional metrics specific to the MySQL connector.

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  jpechanec Jiri Pechanec
                  Reporter:
                  gunnar.morling Gunnar Morling
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  3 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: