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

more JSON serialization fixes

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • 3.1.0
    • None
    • None

    Description

      More JSON serialization fixes

      • Do not quote numeric time fields (they should be less than 55 bits)
      • Use jackson for JSON serialization, not an ancient version of jetty
      • Implement JSON deserialization as well as serialization in htrace-core
      • Shorten "time" and "msg" fields to "t" and "m" in TimelineAnnotation
      • fix ToString method that was using "%08x" rather than "%016x"
      • REST methods should take hex values for span IDs, not decimal
      • Add TestMilliSpan to test round-tripping JSON in htrace-core

      Attachments

        1. HTRACE-31.001.patch
          24 kB
          Colin McCabe

        Issue Links

          Activity

            People

              cmccabe Colin McCabe
              cmccabe Colin McCabe
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: