Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-31537

Improve tracing related to WorkManager

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2023.0, 2021.31
    • Component/s: Streams
    • Release Notes Summary:
      Improved tracing related to Work and ShellExecutor
    • Tags:
    • Team:
      PLATFORM
    • Sprint:
      nxplatform #77
    • Story Points:
      2

      Description

      On async processing the tracing context is passed by the stream service inside record,
      but the legacy work manager is also passing the context inside Work, as a result we see double activity:

      parent -> computation record
      parent -> work

      instead of a scoped activity:
      parent -> computation record -> Work

      Also, the name of the span work could include the category so we have work/ListerWork/updateThumbnail instead of just work/ListenerWork which is hard to read.

      In addition, It will be nice to trace ShellExecutor in a span to have an idea of all invoked transformations.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: