groupbytraceprocessor.json•1.64 kB
{
"fields": [
{
"name": "NumTraces",
"type": "int",
"description": "NumTraces is the max number of traces to keep in memory waiting for the duration. Default: 1_000_000.",
"required": true,
"mapstructureTag": "num_traces"
},
{
"name": "NumWorkers",
"type": "int",
"description": "NumWorkers is a number of workers processing event queue. Default: 1.",
"required": true,
"mapstructureTag": "num_workers"
},
{
"name": "WaitDuration",
"type": "time.Duration",
"description": "WaitDuration tells the processor to wait for the specified duration for the trace to be complete. Default: 1s.",
"required": true,
"mapstructureTag": "wait_duration"
},
{
"name": "DiscardOrphans",
"type": "bool",
"description": "DiscardOrphans instructs the processor to discard traces without the root span. This typically indicates that the trace is incomplete. Default: false. Not yet implemented, and an error will be returned when this option is used.",
"required": true,
"mapstructureTag": "discard_orphans"
},
{
"name": "StoreOnDisk",
"type": "bool",
"description": "StoreOnDisk tells the processor to keep only the trace ID in memory, serializing the trace spans to disk. Useful when the duration to wait for traces to complete is high. Default: false. Not yet implemented, and an error will be returned when this option is used.",
"required": true,
"mapstructureTag": "store_on_disk"
}
],
"imports": [
"time"
],
"packageName": "groupbytraceprocessor"
}