telemetry

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2021 License: MIT Imports: 15 Imported by: 3

Documentation

Overview

Package telemetry provides ...

Package telemetry provides ...

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitProvider

func InitProvider(opts ...Option) (shutdown func())

InitProvider init telemetry provider

Types

type Option

type Option func(opts *options)

Option telemetry option

func WithContext

func WithContext(ctx context.Context) Option

WithContext context

func WithEndpoint

func WithEndpoint(edp string) Option

WithEndpoint opentelemetry backend endpoint

func WithMetrics

func WithMetrics() Option

WithMetrics open metrics

func WithOptions

func WithOptions(dialOpts ...grpc.DialOption) Option

WithOptions otlpgrpc options

func WithTracerName

func WithTracerName(name string) Option

WithTracerName open tracer with name

Jump to

Keyboard shortcuts

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