generated from GamingChaos/docker-compose
add ssl to otel-collector
This commit is contained in:
+11
-10
@@ -6,8 +6,16 @@ receivers:
|
||||
protocols:
|
||||
grpc:
|
||||
endpoint: 0.0.0.0:4317
|
||||
tls:
|
||||
ca_file: /etc/otelcol-contrib/ca.crt
|
||||
cert_file: /etc/otelcol-contrib/otel.crt
|
||||
key_file: /etc/otelcol-contrib/otel.key
|
||||
http:
|
||||
endpoint: 0.0.0.0:4318
|
||||
tls:
|
||||
ca_file: /etc/otelcol-contrib/ca.crt
|
||||
cert_file: /etc/otelcol-contrib/otel.crt
|
||||
key_file: /etc/otelcol-contrib/otel.key
|
||||
|
||||
processors:
|
||||
# Batch processor for efficient data transfer
|
||||
@@ -15,13 +23,6 @@ processors:
|
||||
timeout: 5s
|
||||
send_batch_size: 512
|
||||
|
||||
# Add resource attributes for better correlation
|
||||
resource:
|
||||
attributes:
|
||||
- key: environment
|
||||
value: local-dev
|
||||
action: upsert
|
||||
|
||||
exporters:
|
||||
# Send traces to Tempo via OTLP
|
||||
otlp/tempo:
|
||||
@@ -47,13 +48,13 @@ service:
|
||||
pipelines:
|
||||
traces:
|
||||
receivers: [otlp]
|
||||
processors: [resource, batch]
|
||||
processors: [batch]
|
||||
exporters: [otlp/tempo, debug]
|
||||
metrics:
|
||||
receivers: [otlp]
|
||||
processors: [resource, batch]
|
||||
processors: [batch]
|
||||
exporters: [prometheusremotewrite/mimir, debug]
|
||||
logs:
|
||||
receivers: [otlp]
|
||||
processors: [resource, batch]
|
||||
processors: [batch]
|
||||
exporters: [otlphttp/loki, debug]
|
||||
|
||||
Reference in New Issue
Block a user