Creates span instances, which represent a single operation within a trace.
You can find the Tracer External Object in the KB Explorer within the GeneXusObservability module, which in turn is located within the GeneXus module.
All the methods of this External Object are static.
Gets the current span.
Creates and starts a new span, using the specified name.
Creates and starts a new span, using the specified name and kind.
Return value |
GeneXusObservability.Span |
Parameters |
name:VarChar data type, kind:SpanKind |
Creates and starts a new span, using the specified name, kind, and context. The context is used to set the parent of the newly created Span.
Return value |
GeneXusObservability.Span |
Parameters |
name:VarChar data type, context:TraceContext, kind:SpanKind |
See GeneXusObservability.Tracer: Instrumentation scope
The creation of the new span does the following:
The new span is not associated automatically with the current context. The Context has to be passed as explained in HowTo: Create new Spans manually
Generators: .NET, Java
Since GeneXus 18 Upgrade 9.