Documentation
¶
Overview ¶
Package metrics provides helpers for setting up metrics reporting.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { ReportInterval time.Duration `env:"METRICS_REPORT_INTERVAL,default=60s"` Source string `env:"METRICS_SOURCE"` Prefix string `env:"METRICS_PREFIX"` DefaultTags []string `env:"METRICS_DEFAULT_TAGS"` OTEL otel.Config }
Config stores all the env related config to bootstrap metrics.
Click to show internal directories.
Click to hide internal directories.