transferring ctx.meta and tracing information from Context
create a Context and pass to channel handlers where ctx.params contains the payload and ctx.meta contains the parent ctx.meta. The modified ctx.meta is not transferred back to the caller.
This functions works with all adapters.
Enable the function globally for all channel handlers
This PR adds
Context
-based functionality:ctx.meta
and tracing information fromContext
Context
and pass to channel handlers wherectx.params
contains the payload andctx.meta
contains the parentctx.meta
. The modifiedctx.meta
is not transferred back to the caller.This functions works with all adapters.
Enable the function globally for all channel handlers
Call with context:
Context in handler
The
Context
is always created regardless of whether it was passed atsendToChannel
Tracing
Register channel tracing middleware
You can fine-tuning tracing tags and span name in
tracing
channel property similar to actions.Customize tags and span name