Update documentation for the observability toolkit
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
2bd9def584
commit
b53a6a6c30
7 files changed
+315
-198
No files matched your search
@@ -66,6 +66,7 @@ func (c *Config) defaults() {
|
||||
// OBSX_LOG_FORMAT Logging.Format
|
||||
// OBSX_TRACING_ENDPOINT Tracing.Endpoint
|
||||
// OBSX_TRACING_PROTOCOL Tracing.Protocol
|
||||
// OBSX_TRACING_INSECURE Tracing.Insecure
|
||||
// OBSX_TRACING_SAMPLER Tracing.Sampler
|
||||
// OBSX_TRACING_DISABLED, OTEL_SDK_DISABLED Tracing.Disabled
|
||||
// OBSX_METRICS_NAMESPACE Metrics.Namespace
|
||||
@@ -86,6 +87,7 @@ func (c Config) WithEnv() Config {
|
||||
envString(&c.Logging.Format, "OBSX_LOG_FORMAT")
|
||||
envString(&c.Tracing.Endpoint, "OBSX_TRACING_ENDPOINT")
|
||||
envString(&c.Tracing.Protocol, "OBSX_TRACING_PROTOCOL")
|
||||
envBool(&c.Tracing.Insecure, "OBSX_TRACING_INSECURE")
|
||||
envFloat(&c.Tracing.Sampler, "OBSX_TRACING_SAMPLER")
|
||||
envBool(&c.Tracing.Disabled, "OTEL_SDK_DISABLED")
|
||||
envBool(&c.Tracing.Disabled, "OBSX_TRACING_DISABLED")
|
||||
|
||||
Reference in new issue
Block a user