Skip to main content

Debug

Overview

Debug prints traces, metrics, and logs to the standard output (stdout) for debugging purposes. It is primarily used for diagnostic purposes to inspect telemetry data as it flows through the collector pipeline.

You can configure verbosity levels to control the amount of detail in the output.

Supported types: Logs · Metrics · Traces

Configuration

ParameterTypeDefault ValueDescription
verbositystringbasicThe verbosity level of Debug. Supported values are: basic normal and detailed.
sampling_initialint2Number of messages initially logged each second
sampling_thereafterint1Sampling rate after the initial messages are logged (every Mth message is logged)

Example Configuration

{
"verbosity": "basic", // required, default: "basic"
"sampling_initial": 2, // required, default: 2
"sampling_thereafter": 1, // required, default: 1
}