%Trace.TracerProvider
class %Trace.TracerProvider extends %Trace.AbstractTracerProvider
Instantiate a Tracer object, passing the configured properties for this Service.You may pass an array by reference on %New to set any ResourceAttributes
set array("service.name") = "MyService" set array("service.version") = "1.0" set provider = ##class(%Trace.TracerProvider).%New(.array)
Note that applications will typically have a central function to create the TracerProvider and then call GetTracer to return the Tracer object.
Method Inventory
Methods
method GetTracer(Name As %String = "IRIS OTel Traces", Version As %String = "unknown") as %Trace.AbstractTracer
Create a Tracer object which will be used to start Spans.
'Name' should uniquely identify the application, library, package, or module.
Inherited Members
Inherited Properties
Inherited Methods
- %AddToSaveSet()
- %ClassIsLatestVersion()
- %ClassName()
- %ConstructClone()
- %DispatchClassMethod()
- %DispatchGetModified()
- %DispatchGetProperty()
- %DispatchMethod()
- %DispatchSetModified()
- %DispatchSetMultidimProperty()
- %DispatchSetProperty()
- %Extends()
- %GetParameter()
- %IsA()
- %IsModified()
- %New()
- %NormalizeObject()
- %ObjectModified()
- %OriginalNamespace()
- %PackageName()
- %RemoveFromSaveSet()
- %SerializeObject()
- %SetModified()
- %ValidateObject()