Documentation ¶
Overview ¶
Package o11y is the primary entrypoint for wiring up a standard configuration of the o11y observability system.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct { Statsd string RollbarToken secret.String RollbarEnv string RollbarServerRoot string HoneycombEnabled bool HoneycombDataset string HoneycombHost string HoneycombKey secret.String SampleTraces bool SampleKeyFunc func(map[string]any) string SampleRates map[string]int Format string Version string Service string StatsNamespace string // Optional Mode string Debug bool RollbarDisabled bool StatsdTelemetryDisabled bool Writer io.Writer // Sender allows setting a custom honeycomb sender, Typically the build-in one is preferred. Sender transmission.Sender // Metrics allows setting a custom metrics client. Typically setting Statsd/StatsNamespace is preferred Metrics o11y.ClosableMetricsProvider }
Click to show internal directories.
Click to hide internal directories.