Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, HTraceProvider will try to pass the currently active span through HTTP headers on each service invocation. If there is no active spans, the new span will be created and passed through HTTP headers on per-invocation basis. Essentially, just registering the HTraceProvider HTraceClientProvider on the client and HTraceClientProvider and HTraceProvider on the server is enough to have tracing context to be properly passed everywhere. The only configuration part which is necessary are span receiver(s) and sampler(s).

It is also worth to mention the way Apache CXF attaches the description to spans. With regards to the client integration, the description becomes a full URL being invoked prefixed by HTTP method, for example: GET http://localhost:8282/books. On the server side integration, the description becomes a relation relative JAX-RS resource path prefixed by HTTP method, f.e.: GET books, POST book/123

...