Add header with pipe name for http transforms and JSON sink
CompletedPipes that send HTTP requests to HTTP endpoints either in an HTTP transform or JSON sink could have a header with pipe id.
This could help to have more meaningful logging in microservices handling such requests.
-
Official comment
We'll add a new "headers" property to the "http" transform, so that one can add this header if one need it. The "json" sink already supports the "headers" property. The "rest" and "url" systems also support it. In the future we might consider adding a standardized HTTP header for all our built-in sources, sinks and transforms that use HTTP.
Comment actions -
This has now been implemented: https://docs.sesam.io/changelog.html#changelog-2022-01-20
Please sign in to leave a comment.
Comments
2 comments