Manages Observability spans.
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, SetStatus is captured in some way. This flag SHOULD be used to avoid expensive computations of Span attributes or events in the case 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.
GeneXus.Observability.Span.End() |
Marks the end of Span execution.
It's important to end the span execution to avoid unpredictable behavior or memory leaks. |
GeneXus.Observability.Span.RecordException(in:string) |
Adds an event containing the information from the specified exception. |
GeneXusObservability.Span.SetAttribute(in:string,in:string)
GeneXusObservability.Span.SetAttribute(in:string,in:boolean)
GeneXusObservability.Span.SetAttribute(in:string,in:double)
GeneXusObservability.Span.SetAttribute(in:string,in:long) |
Adds or updates the span attribute with the given key and value. |
GeneXusObservability.Span.AddBaggage(in:string,in:string)
Returns GeneXusObservability.TraceContext. |
Sets the Baggage with a new key/value pair.
Returns GeneXusObservability.TraceContext associated with that Baggage.
|
GeneXusObservability.Span.GetBaggageItem(in:string,out:string) |
Returns the value of a key-value pair added to the span with AddBaggage. |
GeneXusObservability.Span.SetStatus(in:SpanStatusCode,in:string)
GeneXusObservability.Span.SetStatus(in:SpanStatusCode) |
Sets the status code (and description) on the span. |