Documentation ¶
Overview ¶
Package telemetry provides helpers to setup operator telemetry tooling easily.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Instrumentation ¶
type Instrumentation struct {
// contains filtered or unexported fields
}
Instrumentation provides instrumentation builder consisting of tracer, meter and logger.
func NewInstrumentation ¶
func NewInstrumentation(name string) *Instrumentation
NewInstrumentation constructs and returns a new Instrumentation with default providers.
func NewInstrumentationWithProviders ¶
func NewInstrumentationWithProviders(name string, tp trace.TracerProvider, mp metric.MeterProvider, log logr.Logger) *Instrumentation
NewInstrumentation constructs and returns a new Instrumentation based on the given providers.
Click to show internal directories.
Click to hide internal directories.