Verifier CLI: Support OpenTelemetry and print tracing context on interactions that fail to verify #450
Labels
awaiting feedback
Awaiting Feedback from OP
enhancement
Indicates new feature requests
help wanted
Indicates that a maintainer wants help on an issue or pull request
smartbear-supported
SmartBear engineering team will support this issue. See https://docs.pact.io/help/smartbear
When verifying whether a response matches the interaction the cli already prints what did and what didn't match. We are verifying numerous interactions in pipelines. We also have enabled distributed tracing (OpenTelemetry) for our applications. Since troubleshooting exactly which request failed and why it would be useful to know the trace id (
traceparent
) for the request that failed.Therefore, it would be nice if the verifier would emit tracing via OpenTelemetry and print the tracing context on each failed interaction. Alternatively, if this is too large of a feature/discussion, we could also print certain response headers in case of failure. This could be used to print the
traceparent
header.The text was updated successfully, but these errors were encountered: