Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Settings ¶
type Settings struct { NatsURL string `env:"NATS_URL" envDefault:"nats://127.0.0.1:4222"` LogLevel string `env:"SHAR_LOG_LEVEL" envDefault:"warn"` OTLPEndpoint string `env:"OTLP_URL" envDefault:"localhost:4318"` OTLPEndpointIsSecure bool `env:"OTLP_IS_SECURE" envDefault:"false"` }
Settings is the settings provider for telemetry.
func GetEnvironment ¶
GetEnvironment pulls the active settings into a settings struct.
Click to show internal directories.
Click to hide internal directories.