kubernetes configs updated

This commit is contained in:
Ankit Anand 2021-06-02 11:45:00 +05:30
parent 15eb5364d5
commit a7836c26d0
2 changed files with 78 additions and 63 deletions

View File

@ -5,64 +5,72 @@ metadata:
data: data:
supervisor-spec.json: | supervisor-spec.json: |
{ {
"type": "kafka", "type": "kafka",
"dataSchema": { "dataSchema": {
"dataSource": "flattened_spans", "dataSource": "flattened_spans",
"parser": { "parser": {
"type": "string", "type": "string",
"parseSpec": { "parseSpec": {
"format": "json", "format": "json",
"timestampSpec": { "timestampSpec": {
"column": "StartTimeUnixNano", "column": "StartTimeUnixNano",
"format": "nano" "format": "nano"
}, },
"dimensionsSpec": { "dimensionsSpec": {
"dimensions": [ "dimensions": [
"TraceId", "TraceId",
"SpanId", "SpanId",
"ParentSpanId", "ParentSpanId",
"Name", "Name",
"ServiceName", "ServiceName",
"References", "References",
"Tags", "Tags",
{ "ExternalHttpMethod",
"type": "string", "ExternalHttpUrl",
"name": "TagsKeys", "Component",
"multiValueHandling": "ARRAY" "DBSystem",
}, "DBName",
{ "DBOperation",
"type": "string", "PeerService",
"name": "TagsValues", {
"multiValueHandling": "ARRAY" "type": "string",
}, "name": "TagsKeys",
{ "name": "DurationNano", "type": "Long" }, "multiValueHandling": "ARRAY"
{ "name": "Kind", "type": "int" }, },
{ "name": "StatusCode", "type": "int" } {
] "type": "string",
"name": "TagsValues",
"multiValueHandling": "ARRAY"
},
{ "name": "DurationNano", "type": "Long" },
{ "name": "Kind", "type": "int" },
{ "name": "StatusCode", "type": "int" }
]
}
} }
},
"metricsSpec" : [
{ "type": "quantilesDoublesSketch", "name": "QuantileDuration", "fieldName": "DurationNano" }
],
"granularitySpec": {
"type": "uniform",
"segmentGranularity": "DAY",
"queryGranularity": "NONE",
"rollup": false
} }
}, },
"metricsSpec" : [ "tuningConfig": {
{ "type": "quantilesDoublesSketch", "name": "QuantileDuration", "fieldName": "DurationNano" } "type": "kafka",
], "reportParseExceptions": true
"granularitySpec": { },
"type": "uniform", "ioConfig": {
"segmentGranularity": "DAY", "topic": "flattened_spans",
"queryGranularity": "NONE", "replicas": 1,
"rollup": false "taskDuration": "PT20M",
} "completionTimeout": "PT30M",
}, "consumerProperties": {
"tuningConfig": { "bootstrap.servers": "signoz-kafka:9092"
"type": "kafka", }
"reportParseExceptions": true
},
"ioConfig": {
"topic": "flattened_spans",
"replicas": 1,
"taskDuration": "PT20M",
"completionTimeout": "PT30M",
"consumerProperties": {
"bootstrap.servers": "signoz-kafka:9092"
} }
} }
}

View File

@ -8,14 +8,14 @@ metadata:
data: data:
otel-collector-config: | otel-collector-config: |
receivers: receivers:
otlp:
protocols:
grpc:
http:
jaeger: jaeger:
protocols: protocols:
grpc: grpc:
thrift_http: thrift_http:
otlp:
protocols:
grpc:
http:
processors: processors:
batch: batch:
send_batch_size: 1000 send_batch_size: 1000
@ -36,9 +36,16 @@ data:
health_check: {} health_check: {}
zpages: {} zpages: {}
exporters: exporters:
kafka: kafka/traces:
brokers: brokers:
- signoz-kafka:9092 - signoz-kafka:9092
topic: 'otlp_spans'
protocol_version: 2.0.0
kafka/metrics:
brokers:
- signoz-kafka:9092
topic: 'otlp_metrics'
protocol_version: 2.0.0 protocol_version: 2.0.0
service: service:
extensions: [health_check, zpages] extensions: [health_check, zpages]
@ -46,8 +53,8 @@ data:
traces: traces:
receivers: [jaeger, otlp] receivers: [jaeger, otlp]
processors: [memory_limiter, batch, queued_retry] processors: [memory_limiter, batch, queued_retry]
exporters: [kafka] exporters: [kafka/traces]
metrics: metrics:
receivers: [otlp] receivers: [otlp]
processors: [batch] processors: [batch]
exporters: [kafka] exporters: [kafka/metrics]