Documentation ¶
Index ¶
Constants ¶
View Source
const ( // DefaultServiceName is the default service name used for tracing. DefaultServiceName = "descheduler" // DescheduleOperation is the operation name used for Deschedule() functions. DescheduleOperation = "deschedule" // BalanceOperation is the operation name used for Balance() functions. BalanceOperation = "balance" // EvictOperation is the operation name used for Evict() functions. EvictOperation = "evict" // TracerName is used to setup the named tracer TracerName = "sigs.k8s.io/descheduler" )
Variables ¶
This section is empty.
Functions ¶
func NewTracerProvider ¶
func NewTracerProvider(ctx context.Context, endpoint, caCert, name, namespace string, sampleRate float64, fallbackToNoOpTracer bool) (err error)
NewTracerProvider creates a new trace provider with the given options.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.