Uploaded image for project: 'Camel'
  1. Camel
  2. CAMEL-21472

Opentelemetry is using the same traceId when exchange is fired from file or timer component

Attach filesAttach ScreenshotAdd voteVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: In Progress
    • Major
    • Resolution: Unresolved
    • 4.8.1
    • 4.8.3, 4.10.0
    • camel-opentelemetry
    • None
    • Unknown

    Description

      Problem

      When using a consumer like timer or file, the traceId remains the same for all messages. When using a consumer like netty (or, I assume, any other http/tcp-based consumer), every call gets its own traceId as expected.

      See also https://camel.zulipchat.com/#narrow/channel/257298-camel/topic/Same.20OTEL.20trace.20for.20all.20messages.20into.20IBM.20MQ

      Reproducer

      https://github.com/thomas-gantenbein-tga/camel-opentelemetry/tree/main

      Pasquale Congiusti, thanks for your answer on Zulip Chat. Let me know if I should further explain or minimize that reproducer.

      Attachments

        1. image-2024-11-26-09-59-35-555.png
          147 kB
          Thomas Gantenbein
        2. image-2024-11-29-17-04-16-581.png
          38 kB
          Thomas Gantenbein
        3. image-2024-11-29-17-06-26-116.png
          91 kB
          Thomas Gantenbein
        4. image-2024-11-29-17-06-42-860.png
          92 kB
          Thomas Gantenbein
        5. image-2024-11-29-17-12-49-768.png
          85 kB
          Thomas Gantenbein
        6. image-2024-11-29-17-12-58-036.png
          86 kB
          Thomas Gantenbein

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            squakez Pasquale Congiusti
            ganteth Thomas Gantenbein

            Dates

              Created:
              Updated:

              Slack

                Issue deployment