payload property

dynamic payload
final

payload is a free-form potentially structured object which Tracer implementations may retain and record all, none, or part of.

If included, payload should be restricted to data derived from the instrumented application; in particular, it should not be used to pass semantic flags to a log() implementation.

For example, an RPC system could log the wire contents in both directions, or a SQL library could log the query (with or without parameter bindings); tracing implementations may truncate or otherwise record only a snippet of these payloads (or may strip out PII, etc, etc).

Implementation

final dynamic payload;