tracer

package
v1.92.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2023 License: Unlicense Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Options(
	fx.Invoke(Register),
)

Module for fx.

Functions

func NewNoopTracer

func NewNoopTracer(name string) trace.Tracer

NewNoopTracer for tracer.

func NewTracer

func NewTracer(params Params) (trace.Tracer, error)

NewTracer for tracer.

func Register

func Register()

Register for tracer.

Types

type Config

type Config struct {
	Host   string `yaml:"host" json:"host" toml:"host"`
	Secure bool   `yaml:"secure" json:"secure" toml:"secure"`
}

Config for otel.

type Params

type Params struct {
	Lifecycle fx.Lifecycle
	Name      string
	Version   version.Version
	Config    *Config
}

Params for tracer.

Jump to

Keyboard shortcuts

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