TracingDecorator
PingGateway can push traces to an OpenTelemetry service.
You set up OpenTelemetry tracing in the AdminHttpApplication (admin.json
) configuration.
This capability is available in Technology preview. It isn’t yet supported, may be functionally incomplete, and is subject to change without notice. |
The span content of traces, such as (attached metadata like request details) are not supported (we do not commit to keep compatibility).
The trace data and span content has Evolving interface stability. It is subject to change without notice, even in a minor or maintenance release.
Decorator Usage
{
"name": string,
"type": "TracingDecorator"
}
A TracingDecorator does not have configurable properties.
PingGateway creates a default TracingDecorator named tracing
at startup time in the top-level heap.
You can use the tracing
decorator without additional configuration.
Decorated Object Usage
{
"name": string,
"type": string,
"<decorator-name>": configuration expression<boolean>
}
"name"
: string, required except for inline objects-
The unique name of the object, just like an object that isn’t decorated.
"type"
: <string>, required-
The class name of the decorated object.
- <decorator-name>: configuration expression<boolean>, required
-
-
true
: Activate tracing -
false
: Deactivate tracing
-