Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetObservabilityConfig ¶
func GetObservabilityConfig(ctx context.Context) (*observability.Config, error)
GetObservabilityConfig gets the observability config from the (in order): 1. provided context, 2. reading from the API server, 3. defaults (if not found).
func SetupObservabilityOrDie ¶
func SetupObservabilityOrDie( ctx context.Context, component string, logger *zap.SugaredLogger, pprof *k8sruntime.ProfilingServer, ) (*metrics.MeterProvider, *tracing.TracerProvider)
SetupObservabilityOrDie sets up the observability using the config from the given context or dies by calling log.Fatalf.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.