Skip to main content

telemetry.Config

authentication object

Authentication configures authentication for telemetry exporters.

namespacestring

Namespace groups telemetry data for all nodes in a namespace.

tokenstring

Token is the authentication token or password.

typestring

Type is the authentication type (e.g., "Basic").

do_not_trackboolean

DoNotTrack disables telemetry collection when true.

drop_metric_prefixesstring[]

DropMetricPrefixes specifies metric name prefixes to drop.

endpointstring

Endpoint is the telemetry collector endpoint (host:port).

endpoint_pathstring

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).

endpointstring

Endpoint is the DSN/URL for the error reporting service (e.g., Sentry DSN).

export_intervalinteger<int64>

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).

property name*string
include_go_metricsboolean

IncludeGoMetrics enables collection of Go runtime metrics.

insecureboolean

Insecure disables TLS verification.

process_metrics_intervalinteger<int64>

ProcessMetricsInterval is how often process metrics are collected.

Possible values: [-9223372036854776000, 9223372036854776000, 1, 1000, 1000000, 1000000000, 60000000000, 3600000000000]

protocolstring

Protocol specifies the export protocol: "grpc" or "http".

resource_attributes object

ResourceAttributes are additional OTel resource attributes.

property name*string
resource_detectorsstring[]

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)

telemetry.Config
{
"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"
]
}