TracingDecorator
PingGateway can push traces to an OpenTelemetry service.
You set up OpenTelemetry tracing in the AdminHttpApplication (admin.json) configuration.
| This feature has Evolving interface stability. It is subject to change without notice, even in a minor or maintenance release. |
The span content of traces, such as attached metadata like request details, aren’t supported. Compatibility isn’t guaranteed.
Decorator Usage
{
"name": string,
"type": "TracingDecorator"
}
A TracingDecorator doesn’t 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
-