Manages Observability spans.
You can find the Span External Object in the KB Explorer within the GeneXusObservability module, which in turn is located within the GeneXus module.
Gets the Span ID.
Gets the
Trace ID.
Returns the
SpanContext associated with this Span.
A Span is recording when the data provided to it via functions like SetAttributes and SetStatus is captured in some way. This flag SHOULD be used to avoid expensive computations of Span attributes or events when a Span is not recorded.
A
TraceContext is a propagation mechanism that carries execution-scoped values across API boundaries and between logically associated
execution units.
Marks the end of Span execution. It's important to end the span execution to avoid unpredictable behavior or memory leaks.
Return value |
None |
Parameters |
None |
Adds an event containing the information from the specified exception.
Return value |
None |
Parameters |
message:VarChar |
Adds or updates the span attribute with the given key and value.
Return value |
None |
Parameters |
property:VarChar, value:VarChar |
Adds or updates the span attribute with the given key and value.
Return value |
None |
Parameters |
property:VarChar, value:Numeric |
Adds or updates the span attribute with the given key and value.
Return value |
None |
Parameters |
property:VarChar, value:Numeric |
Adds or updates the span attribute with the given key and value.
Return value |
None |
Parameters |
name:VarChar, value:Boolean |
Sets the Baggage with a new key/value pair.
Returns TraceContext associated with that Baggage.
Returns the value of a key-value pair added to the span with AddBaggage.
Sets the status code and description on the span.
Return value |
None |
Parameters |
statusCode:SpanStatusCode, message:VarChar |
Sets the status code on the span.
Generators: .NET, Java
Since GeneXus 18 Upgrade 9.