Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Options ¶
type Options struct { // ServiceName contains the service name for telemetry. It must be non-empty. ServiceName string // IsProduction indicates whether we're running in production mode. If nil, // the value is determined by checking if the ENV environment variable equals // "production" IsProduction *bool // Endpoint for the OTEL server. If empty, it's read from the OTEL_HTTP_ENDPOINT // environment variable, defaulting to localhost:4318 if not provided Endpoint string // AuthToken indicates the token for authenticating with the OTEL server. If empty, the value of the // OTEL_AUTH_TOKEN environment variable is used instead AuthToken string }
Click to show internal directories.
Click to hide internal directories.