Support Observability
Describe the proposal
DAPR supports distributed tracing by sending a trace context in the request/response headers. To support this, js-sdk needs to send this trace context, if it's present in the request, in the response headers.
The trace context should also be available outside the library (for example, to the invoker server callback), so it can be used in other operations related to the request.
I came here as I'm curious about how to hook into logging with Dapr and Node - is that a goal of this project as well?
Hi @johnnyreilly this is definitely an item we need more work on. What would be your idea on how we can improve Dapr, Node and the logging capabilities?
@XavierGeerinck Do we want to pick this up and brainstorm around logging? Should I start a design proposal?
/assign
The original issue looks similar to #120, but @johnnyreilly's comment is for logging. Should we track this as a separate issue? It will be good to have a logging interface that SDK's consumers can implement (with a default logging option to stdout/stderr).
Agreed on making this a separate issue