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

ActivateTracingSpan wrong timestamps reported

XMLWordPrintable

    • False
    • None
    • False
    • Low

      What Debezium connector do you use and what version?

      `debezium-mysql-connector:1.9.7-Final`

      What is the connector configuration?

      N/A

      What is the captured database version and mode of depoyment?

      N/A

      What behaviour do you expect?

      As you can see in an old blog post Distributed tracing with debezium when coming to this image:

      • The `db-log-write` operation only tooks 0μs with the startTime set to 365ms.
      • The `debezium-read` operation tooks 106.17ms with the start time set to 652ms.

      So we have:

       

      debezium-read.startTime - db-log-write.startTime = 287ms
      

      After this evidence I expect to see that `db-log-write` duration should be equal to 287ms~

       

      What behaviour do you see?

      The spans timestamps are adjusted for clock skews and the db-log-write duration is always equal to 0. Below two examples from my traces:

      Detail of db-log-write:

      Do you see the same behaviour using the latest relesead Debezium version?

      Yes, it's tested with the latest stable connector version published on confluent hub.

      Do you have the connector logs, ideally from start till finish?

      N/A

      How to reproduce the issue using our tutorial deployment?

      Same issue in https://github.com/debezium/debezium-examples/tree/1.x/saga

      Feature request or enhancement

      For feature requests or enhancements, provide this information, please:

      Which use case/requirement will be addressed by the proposed feature?

      Distributed tracing

      Implementation ideas (optional)

      N/A

        1. 1668170888.png
          19 kB
          Alberto Martino
        2. 1668170920.png
          32 kB
          Alberto Martino
        3. 1668178569.png
          51 kB
          Alberto Martino
        4. tracing-debezium-details.png
          217 kB
          Alberto Martino

              Unassigned Unassigned
              almartino Alberto Martino (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: