telemetry.Config
authentication object
Authentication configures authentication for telemetry exporters.
Namespace groups telemetry data for all nodes in a namespace.
Token is the authentication token or password.
Type is the authentication type (e.g., "Basic").
DoNotTrack disables telemetry collection when true.
DropMetricPrefixes specifies metric name prefixes to drop.
Endpoint is the telemetry collector endpoint (host:port).
EndpointPath is an optional path prefix under which the collector serves /v1/metrics (or similar).
error_reporting object
ErrorReporting configures error reporting (e.g., Sentry).
Endpoint is the DSN/URL for the error reporting service (e.g., Sentry DSN).
ExportInterval is how often metrics are exported.
Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]
headers object
Headers are sent with every export request (e.g. auth headers).
IncludeGoMetrics enables collection of Go runtime metrics.
Insecure disables TLS verification.
ProcessMetricsInterval is how often process metrics are collected.
Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]
Protocol specifies the export protocol: "grpc" or "http".
resource_attributes object
ResourceAttributes are additional OTel resource attributes.
ResourceDetectors enables optional OTel resource detectors that add labels to all metrics. Empty by default — opt in to what you need. Supported values: "host" (host.name, host.id, host.arch), "os" (os.type), "container" (container.id)
{
"authentication": {
"namespace": "string",
"token": "string",
"type": "string"
},
"do_not_track": true,
"drop_metric_prefixes": [
"string"
],
"endpoint": "string",
"endpoint_path": "string",
"error_reporting": {
"endpoint": "string"
},
"export_interval": -9223372036854776000,
"headers": {},
"include_go_metrics": true,
"insecure": true,
"process_metrics_interval": -9223372036854776000,
"protocol": "string",
"resource_attributes": {},
"resource_detectors": [
"string"
]
}