1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980 |
- apiVersion: opentelemetry.io/v1alpha1
- kind: OpenTelemetryCollector
- metadata:
- name: col-l1
- namespace: ob
- spec:
- replicas: 2
- image: reg.cestong.com.cn/cecf/obcol:latest
- serviceAccount: loadbalancer
- config: |
- exporters:
- loadbalancing:
- protocol:
- otlp:
- tls:
- insecure: true
- resolver:
- k8s:
- service: col-l2-collector-headless.ob
- ports:
- - 4317
- logging: {}
- obkafka:
- brokers:
- - kafka-headless.observe.svc.cluster.local:9092
- protocol_version: 2.0.0
- encoding: otlp_json
- topic: otel_2
- extensions:
- health_check: {}
- memory_ballast: {}
- processors:
- batch:
- send_batch_max_size: 1000
- send_batch_size: 500
- timeout: 3s
- memory_limiter:
- check_interval: 1s
- limit_percentage: 80
- spike_limit_percentage: 30
- receivers:
- otlp:
- protocols:
- grpc:
- http:
- service:
- telemetry:
- metrics:
- address: ${MY_POD_IP}:8888
- logs:
- level: INFO
- extensions:
- - health_check
- - memory_ballast
- pipelines:
- logs:
- exporters:
- - obkafka
- processors:
- - memory_limiter
- - batch
- receivers:
- - otlp
- metrics:
- exporters:
- - obkafka
- processors:
- - memory_limiter
- - batch
- receivers:
- - otlp
- traces:
- exporters:
- - obkafka
- - loadbalancing
- processors:
- - memory_limiter
- - batch
- receivers:
- - otlp
|