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

Fix the documentation for adding tracing to an application to reflect HTrace 4.x API changes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Critical
    • Resolution: Fixed
    • 4.0.1
    • 4.1
    • docs
    • None
    • 4.1

    Description

      The docs for adding tracing state:

      Span computationSpan = tracer.newScope("Expensive computation.");
      try {
          //expensive computation here
      } finally {
          computationSpan.stop();
      }
      

      the tracer.newScope method returns a TraceScope object. That object has a close method, not stop.

      Attachments

        1. HTRACE-317.001.patch
          3 kB
          Masatake Iwasaki
        2. HTRACE-317.002.patch
          3 kB
          Masatake Iwasaki

        Activity

          People

            iwasakims Masatake Iwasaki
            busbey Sean Busbey
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: