Documentation ¶
Overview ¶
Package observability contains common setup and utilities for metrics, logging, and tracing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetupDynamicConfigOrDie ¶
func SetupDynamicConfigOrDie(ctx context.Context, componentName string, metricNamespace string) (context.Context, *configmap.InformedWatcher, *profiling.Handler, func())
SetupDynamicConfigOrDie sets up logging, metrics, and tracing by watching observability configmaps. Returns an updated context with logging and function to flush telemetry which should be called before exit. The input context should have KubeClient injected.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.