Documentation ¶
Index ¶
- Variables
- func IsEnabled(c *Config) bool
- func MustFloat64Histogram(meter metric.Meter, name, description string) metric.Float64Histogram
- func MustFloat64ObservableCounter(meter metric.Meter, name, description string) metric.Float64ObservableCounter
- func MustInt64Counter(meter metric.Meter, name, description string) metric.Int64Counter
- func MustInt64ObservableCounter(meter metric.Meter, name, description string) metric.Int64ObservableCounter
- func MustInt64ObservableGauge(meter metric.Meter, name, description string) metric.Int64ObservableGauge
- func NewMeter(params MeterParams) m.Meter
- func NewNoopMeter() m.Meter
- func NewReader(cfg *Config) (metric.Reader, error)
- type Config
- type MeterParams
Constants ¶
This section is empty.
Variables ¶
Module for fx.
Functions ¶
func MustFloat64Histogram ¶ added in v1.161.0
func MustFloat64Histogram(meter metric.Meter, name, description string) metric.Float64Histogram
MustFloat64Histogram for metrics.
func MustFloat64ObservableCounter ¶ added in v1.161.0
func MustFloat64ObservableCounter(meter metric.Meter, name, description string) metric.Float64ObservableCounter
MustFloat64ObservableCounter for metrics.
func MustInt64Counter ¶ added in v1.161.0
func MustInt64Counter(meter metric.Meter, name, description string) metric.Int64Counter
MustInt64Counter for metrics.
func MustInt64ObservableCounter ¶ added in v1.161.0
func MustInt64ObservableCounter(meter metric.Meter, name, description string) metric.Int64ObservableCounter
MustInt64ObservableCounter for metrics.
func MustInt64ObservableGauge ¶ added in v1.161.0
func MustInt64ObservableGauge(meter metric.Meter, name, description string) metric.Int64ObservableGauge
MustFloat64Histogram for metrics.
Types ¶
type Config ¶ added in v1.152.0
type Config struct { Enabled bool `yaml:"enabled,omitempty" json:"enabled,omitempty" toml:"enabled,omitempty"` Kind string `yaml:"kind,omitempty" json:"kind,omitempty" toml:"kind,omitempty"` Host string `yaml:"host,omitempty" json:"host,omitempty" toml:"host,omitempty"` }
Config for tracer.
Click to show internal directories.
Click to hide internal directories.