col-l1.yaml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. apiVersion: opentelemetry.io/v1alpha1
  2. kind: OpenTelemetryCollector
  3. metadata:
  4. name: col-l1
  5. namespace: ob
  6. spec:
  7. replicas: 2
  8. image: reg.cestong.com.cn/cecf/obcol:latest
  9. serviceAccount: loadbalancer
  10. config: |
  11. exporters:
  12. loadbalancing:
  13. protocol:
  14. otlp:
  15. tls:
  16. insecure: true
  17. resolver:
  18. k8s:
  19. service: col-l2-collector-headless.ob
  20. ports:
  21. - 4317
  22. logging: {}
  23. obkafka:
  24. brokers:
  25. - kafka-headless.observe.svc.cluster.local:9092
  26. protocol_version: 2.0.0
  27. encoding: otlp_json
  28. topic: otel_2
  29. extensions:
  30. health_check: {}
  31. memory_ballast: {}
  32. processors:
  33. batch:
  34. send_batch_max_size: 1000
  35. send_batch_size: 500
  36. timeout: 3s
  37. memory_limiter:
  38. check_interval: 1s
  39. limit_percentage: 80
  40. spike_limit_percentage: 30
  41. receivers:
  42. otlp:
  43. protocols:
  44. grpc:
  45. http:
  46. service:
  47. telemetry:
  48. metrics:
  49. address: ${MY_POD_IP}:8888
  50. logs:
  51. level: INFO
  52. extensions:
  53. - health_check
  54. - memory_ballast
  55. pipelines:
  56. logs:
  57. exporters:
  58. - obkafka
  59. processors:
  60. - memory_limiter
  61. - batch
  62. receivers:
  63. - otlp
  64. metrics:
  65. exporters:
  66. - obkafka
  67. processors:
  68. - memory_limiter
  69. - batch
  70. receivers:
  71. - otlp
  72. traces:
  73. exporters:
  74. - obkafka
  75. - loadbalancing
  76. processors:
  77. - memory_limiter
  78. - batch
  79. receivers:
  80. - otlp