otel

package
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2025 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Overview

Package otel is the home of interactions with OpenTelemetry common to many of our internal packages.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Instance added in v0.5.0

type Instance struct {
	// contains filtered or unexported fields
}

Instance is the interface to the resources that were initialized by New.

func New added in v0.5.0

func New() (*Instance, error)

New initializes otel components

func (*Instance) MeterProvider added in v0.5.1

func (instance *Instance) MeterProvider() (metric.MeterProvider, error)

MeterProvider returns the telemetry-created MeterProvider.

func (*Instance) Shutdown added in v0.5.0

func (instance *Instance) Shutdown(ctx context.Context) error

Shutdown ensures resources held by our instance are cleanly released.

Jump to

Keyboard shortcuts

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