Documentation
¶
Index ¶
- Variables
- func Error(err error, span trace.Span)
- func IsEnabled(c *Config) bool
- func Meta(ctx context.Context, span trace.Span)
- func NewNoopTracer() trace.Tracer
- func NewTracer(lc fx.Lifecycle, env env.Environment, ver version.Version, cfg *Config, ...) trace.Tracer
- func OperationName(area, name string) string
- func Register()
- type Config
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
func NewTracer ¶
func NewTracer(lc fx.Lifecycle, env env.Environment, ver version.Version, cfg *Config, logger *zap.Logger) trace.Tracer
NewTracer for tracer.
func OperationName ¶ added in v1.162.0
OperationName for tracer.
Types ¶
type Config ¶
type Config struct { Kind string `yaml:"kind,omitempty" json:"kind,omitempty" toml:"kind,omitempty"` Host string `yaml:"host,omitempty" json:"host,omitempty" toml:"host,omitempty"` Key string `yaml:"key,omitempty" json:"key,omitempty" toml:"key,omitempty"` }
Config for tracer.
func (*Config) IsBaselime ¶ added in v1.128.0
IsBaselime configuration.
Click to show internal directories.
Click to hide internal directories.