The required field contains the list of obligated tracing fields. These fields always exist, it means when a client calls, the mockingbird generates for these fields unique ID (UUID).
The incomingHeaders set matching between request headers that contain tracing info and tracing field on the Mockingbird side. Comparing the headers is case-insensitive. For the config above, if request contains "X-Trace-ID" or "X-Request-ID", its value overrides generated value of traceId field.
The outcomingHeaders specified which tracing fields should be returned in response headers.
Adding extracting tracing info from headers of HTTP and gRPC calls and adding them to response headers.
The configuration example:
The required field contains the list of obligated tracing fields. These fields always exist, it means when a client calls, the mockingbird generates for these fields unique ID (UUID).
The incomingHeaders set matching between request headers that contain tracing info and tracing field on the Mockingbird side. Comparing the headers is case-insensitive. For the config above, if request contains "X-Trace-ID" or "X-Request-ID", its value overrides generated value of traceId field.
The outcomingHeaders specified which tracing fields should be returned in response headers.
@mockingbird/maintainers