observabilityzap

package
v0.0.0-...-a078c60 Latest Latest
Warning

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

Go to latest
Published: Aug 11, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type TracerProviderCloser

type TracerProviderCloser interface {
	trace.TracerProvider
	io.Closer
}

TracerProviderCloser is used to wrap a trace.TracerProvider with an io.Closer to use on shutdown.

func Start

func Start(logger *zap.Logger) TracerProviderCloser

Start creates a Zap logging exporter for Opentelemetry traces and returns the exporter. The exporter implements io.Closer for clean-up.

Jump to

Keyboard shortcuts

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