feat(natsrpc): propagate trace context across NATS and into task runs
This commit is contained in:
1 parent
4a889991bd
commit
0880e6a01c
37 files changed
+245
-117
No files matched your search
@@ -36,6 +36,9 @@ type Request struct {
|
||||
// Instructions are the instance and organisation layers every agent
|
||||
// stage follows.
|
||||
Instructions workflow.Instructions `json:"instructions"`
|
||||
// Trace is the daemon's W3C trace context, so the agent's spans join the
|
||||
// task's trace.
|
||||
Trace map[string]string `json:"trace,omitempty"`
|
||||
}
|
||||
|
||||
// Validate rejects a full-task request that cannot be correlated to a real
|
||||
|
||||
Reference in new issue
Block a user