Skip to main content

%Trace.AbstractTracerProvider

abstract class %Trace.AbstractTracerProvider extends %Library.RegisteredObject

Instantiate a Tracer object, passing the configured properties for this Service. Note that applications will typically have a central function to create the TracerProvider and then call GetTracer to return the Tracer object.

Property Inventory

Method Inventory

Properties

property ResourceAttributes as array of %String;
Array of Resource Attributes, primarily service.name and service.version
Property methods: ResourceAttributesBuildValueArray(), ResourceAttributesCollectionToDisplay(), ResourceAttributesCollectionToOdbc(), ResourceAttributesDisplayToCollection(), ResourceAttributesDisplayToLogical(), ResourceAttributesGet(), ResourceAttributesGetObject(), ResourceAttributesGetObjectId(), ResourceAttributesGetSwizzled(), ResourceAttributesIsValid(), ResourceAttributesLogicalToDisplay(), ResourceAttributesLogicalToOdbc(), ResourceAttributesNormalize(), ResourceAttributesOdbcToCollection(), ResourceAttributesSet(), ResourceAttributesSetObject(), ResourceAttributesSetObjectId()
property Sampler as %Trace.AbstractSampler;
Sampler class decides which Spans should be recorded and exported.
Property methods: SamplerGet(), SamplerGetSwizzled(), SamplerIsValid(), SamplerNewObject(), SamplerSet()

Methods

abstract method GetTracer(Name As %String, Version As %String) 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 Methods

Subclasses

FeedbackOpens in a new tab