Skip to content

SigNoz is an open-source, OpenTelemetry-native observability platform for your team and their AI agents. Get logs, metrics, and traces in one tool with features like APM, distributed tracing, log management, infra monitoring, etc. Combined with SigNoz MCP and a native AI teammate (in SigNoz Cloud) it helps you build more resilient apps.

added separate kafka exporters for traces and metrics in otel-collector config

Ankit Nayanc45f09be087a
diff --git a/deploy/docker/otel-collector-config.yaml b/deploy/docker/otel-collector-config.yaml
index d5252d7f8a..ff4b8f496d 100644
--- a/deploy/docker/otel-collector-config.yaml
+++ b/deploy/docker/otel-collector-config.yaml
@@ -27,9 +27,16 @@ extensions:
health_check: {}
zpages: {}
exporters:
- kafka:
+ kafka/traces:
brokers:
- kafka:9092
+ topic: 'otlp_spans'
+ protocol_version: 2.0.0
+
+ kafka/metrics:
+ brokers:
+ - kafka:9092
+ topic: 'otlp_metrics'
protocol_version: 2.0.0
service:
extensions: [health_check, zpages]
@@ -37,8 +44,8 @@ service:
traces:
receivers: [jaeger, otlp]
processors: [memory_limiter, batch, queued_retry]
- exporters: [kafka]
+ exporters: [kafka/traces]
metrics:
receivers: [otlp]
processors: [batch]
- exporters: [kafka]
\ No newline at end of file
+ exporters: [kafka/metrics]
\ No newline at end of file