Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultTracer ¶
Types ¶
type OpenTelemetry ¶
type OpenTelemetry struct { providers.AbstractProvider Opts *Options // contains filtered or unexported fields }
func New ¶
func New(opts ...Option) *OpenTelemetry
func (*OpenTelemetry) Close ¶
func (p *OpenTelemetry) Close() error
func (*OpenTelemetry) Enabled ¶
func (p *OpenTelemetry) Enabled() bool
func (*OpenTelemetry) Flush ¶
func (p *OpenTelemetry) Flush() error
func (*OpenTelemetry) Init ¶
func (p *OpenTelemetry) Init() error
type Option ¶
type Option func(*Options)
func WithAttributes ¶
func WithEnabled ¶
func WithEndpoint ¶
func WithServiceName ¶
Click to show internal directories.
Click to hide internal directories.