12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- apiVersion: opentelemetry.io/v1alpha1
- kind: OpenTelemetryCollector
- metadata:
- name: col-l2
- namespace: ob
- spec:
- replicas: 2
- image: reg.cestong.com.cn/cecf/obcol:latest
- config: |
- exporters:
- logging: {}
- obkafka:
- brokers:
- - kafka-headless.observe.svc.cluster.local:9092
- protocol_version: 2.0.0
- encoding: ob_trace_hit
- topic: otel_sample_hit
- extensions:
- health_check: {}
- memory_ballast: {}
- processors:
- tail_sampling:
- decision_wait: 10s
- num_traces: 100
- expected_new_traces_per_sec: 10
- policies:
- - name: slow
- type: latency
- latency:
- threshold_ms: 1000
- upper_threshold_ms: 10000
- - name: probabilistic
- type: probabilistic
- probabilistic:
- sampling_percentage: 10
- - name: err_code
- type: status_code
- status_code:
- status_codes:
- - ERROR
- 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:
- service:
- telemetry:
- metrics:
- address: 0.0.0.0:8888
- logs:
- level: INFO
- extensions:
- - health_check
- - memory_ballast
- pipelines:
- traces:
- exporters:
- - obkafka
- processors:
- - memory_limiter
- - batch
- receivers:
- - otlp
|