telemetry

package
v0.0.0-...-c510420 Latest Latest
Warning

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

Go to latest
Published: Apr 4, 2022 License: MIT Imports: 8 Imported by: 2

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.

func (*Instrumentation) Start

Start creates and returns a span, a meter and a tracing logger.

Directories

Path Synopsis
Package export provides telemetry exporters for various providers.
Package export provides telemetry exporters for various providers.

Jump to

Keyboard shortcuts

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