[Extension Proposal] Provide extension for HTTP tracing header #45420
Labels
area/quarkiverse
This issue/PR is part of the Quarkiverse organization
kind/extension-proposal
Discuss and Propose new extensions
Description
There are two quasi-standard header to use for user tracing:
X-Request-ID
andX-Correlation-ID
1,2. Its semantics normally is that it can be set by the client. If the client does not set it, the server should generate one. Every response should return the header - either the client-provided value, or the server-generated value if the client did not provide an id.This header should:
X-Request-ID
orX-Correlation-ID
,Interested in this extension, please +1 via the emoji/reaction feature of GitHub (top right).
Repository name
quarkus-http-header-correlation-id
Short description
Provide HTTP Correlation ID headers
Repository Homepage URL
https://docs.quarkiverse.io/quarkus-http-header-correlation-id/dev/
Repository Topics
Team Members
Additional context
Why not use the trace- or span-id?
This is no replacement to OpenAPI's trace- or span-id; the trace- and span-ids are generated by OpenAPI, the tracing header can be set by the client.
Why do we need a separate value?
there are infrastructure components, like istio, that can - based on headers - route specific requests to specific application instances, for example based on the header. This can be used, for example, when debugging or reproducing issues.
The text was updated successfully, but these errors were encountered: