otlp_util

package module
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 9 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ForceFlush added in v0.0.3

func ForceFlush(ctx context.Context) error

func InitGlobalTracer

func InitGlobalTracer(opts ...InitOption)

func Start

func Start(ctx context.Context, spanName string, opts ...trace.SpanStartOption) (context.Context, trace.Span)

Types

type InitOption

type InitOption func(*config)

func WithEndPoint

func WithEndPoint(endPoint string) InitOption

func WithInSecure

func WithInSecure() InitOption

func WithServiceName

func WithServiceName(name string) InitOption

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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