Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Enabled bool `env:"ENABLE_OTEL_COLLECTION"` CollectorURL *url.URL `env:"OTEL_COLLECTOR_URL"` MetricsDestinations []string `env:"OTEL_METRICS_DESTINATIONS,default=honeycomb;argus"` Honeycomb honeycomb.Config }
Config is a reusable configuration struct that contains the necessary environment variables to setup an metrics.Provider
Click to show internal directories.
Click to hide internal directories.