observability

package
v0.0.0-...-d19fc40 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 29, 2020 License: Apache-2.0 Imports: 10 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL