mirror of
https://github.com/SigNoz/signoz.git
synced 2025-12-29 08:04:10 +00:00
54 lines
1.3 KiB
JSON
54 lines
1.3 KiB
JSON
{
|
|
"type": "kafka",
|
|
"dataSchema": {
|
|
"dataSource": "flattened_spans",
|
|
"parser": {
|
|
"type": "string",
|
|
"parseSpec": {
|
|
"format": "json",
|
|
"timestampSpec": {
|
|
"column": "StartTimeUnixNano",
|
|
"format": "nano"
|
|
},
|
|
"dimensionsSpec": {
|
|
"dimensions": [
|
|
"TraceId",
|
|
"SpanId",
|
|
"ParentSpanId",
|
|
"Name",
|
|
"ServiceName",
|
|
"References",
|
|
"Tags",
|
|
"TagsKeys",
|
|
"TagsValues",
|
|
{ "name": "DurationNano", "type": "Long" },
|
|
{ "name": "Kind", "type": "int" }
|
|
]
|
|
}
|
|
}
|
|
},
|
|
"metricsSpec" : [
|
|
{ "type": "quantilesDoublesSketch", "name": "QuantileDuration", "fieldName": "DurationNano" }
|
|
],
|
|
"granularitySpec": {
|
|
"type": "uniform",
|
|
"segmentGranularity": "DAY",
|
|
"queryGranularity": "NONE",
|
|
"rollup": false
|
|
}
|
|
},
|
|
"tuningConfig": {
|
|
"type": "kafka",
|
|
"reportParseExceptions": true
|
|
},
|
|
"ioConfig": {
|
|
"topic": "flattened_spans",
|
|
"replicas": 1,
|
|
"taskDuration": "PT20M",
|
|
"completionTimeout": "PT30M",
|
|
"consumerProperties": {
|
|
"bootstrap.servers": "kafka:9092"
|
|
}
|
|
}
|
|
}
|