Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶ added in v0.6.0
type Config struct {
Metrics *MetricsConfig
Traces *TracesConfig
}
type Instrumentation ¶
func (*Instrumentation) IsEnabled ¶
func (i *Instrumentation) IsEnabled() bool
type InstrumentationProvider ¶ added in v0.6.0
type InstrumentationProvider interface {
NewInstrumentation(name string) *Instrumentation
Close() error
}
func NewInstrumentationProvider ¶ added in v0.6.0
func NewInstrumentationProvider(cfg *Config) (InstrumentationProvider, error)
type MetricsConfig ¶ added in v0.6.0
type Provider ¶ added in v0.6.0
type Provider struct {
// contains filtered or unexported fields
}
func NewProvider ¶ added in v0.6.0
func (*Provider) NewInstrumentation ¶ added in v0.6.0
func (o *Provider) NewInstrumentation(name string) *Instrumentation
type TracesConfig ¶ added in v0.6.0
Click to show internal directories.
Click to hide internal directories.