Uploaded image for project: 'HTrace'
  1. HTrace
  2. HTRACE-359

TraceRunnable and TraceCallable should be built using parent spanId not scope

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.0
    • 4.2
    • core
    • None
    • 4.2

    Description

      TraceRunnable/Callable both take a parent TraceScope and extract the span Id from it when executing the task. Instead, we should allow users to create custom TraceRunnable/Callable instances with only a SpanId instead of a full TraceScope, for instance when reading a span id from an RPC call and a TraceScope object is not available.

      Attachments

        1. HTRACE-359.v4.patch.txt
          5 kB
          Mike Drob
        2. HTRACE-359.v3.patch.txt
          7 kB
          Mike Drob
        3. HTRACE-359.patch.txt
          4 kB
          Mike Drob
        4. HTRACE-359.patch.txt
          7 kB
          Mike Drob

        Activity

          People

            mdrob Mike Drob
            mdrob Mike Drob
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: