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
| Parameter | Type | Default Value | Description |
|---|---|---|---|
| verbosity | string | basic | The verbosity level of Debug. Supported values are: basic normal and detailed. |
| sampling_initial | int | 2 | Number of messages initially logged each second |
| sampling_thereafter | int | 1 | Sampling 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
}