cm-oas.yaml 2.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879
  1. apiVersion: v1
  2. kind: ConfigMap
  3. metadata:
  4. name: ob-agent-stream
  5. namespace: data
  6. data:
  7. oas.yaml: |
  8. pbSource:
  9. enabled: true
  10. brokers: kafka-headless.observe.svc.cluster.local:9092
  11. topics:
  12. - otelproto
  13. consumerGroupID: ob-agent-stream
  14. jsonSource:
  15. enabled: true
  16. brokers: kafka-headless.observe.svc.cluster.local:9092
  17. topics:
  18. - otel
  19. consumerGroupID: ob-agent-stream
  20. httpMetricConfig:
  21. windowIntervalSeconds: 60
  22. spanMetric:
  23. enabled: true
  24. pgHost: timescaledb.db.svc.cluster.local
  25. pgPort: 5432
  26. pgUser: postgres
  27. pgPwd: cecf@cestong.com
  28. pgDatabase: ob_metrics
  29. pgTable: span_metrics_15s
  30. pgBatchSize: 1000
  31. pgBatchInterval: 1000
  32. pgMaxRetry: 3
  33. pgMaxRetryDelay: 1000
  34. pgMaxRetryDelayMultiplier: 2
  35. pojoFilter:
  36. excludeAppNames: []
  37. #- "WLGLPT"
  38. excludeServiceNames: []
  39. jobConfig:
  40. jobName: ob-agent-stream
  41. disableOperatorChaining: false
  42. excludeServiceName: []
  43. kafkaSourceSinkParallelism: 6
  44. pojoParseParallelism: 6
  45. clickhouseSinkParallelism: 6
  46. attachAppNameParallelism: 6
  47. filterByServiceNameParallelism: 6
  48. endpointSpanFilterParallelism: 6
  49. processOutputTagParallelism: 6
  50. filterHttpDBParallelism: 6
  51. watermarkOrderlessSeconds: 10
  52. watermarkIdlenessSeconds: 60
  53. enableSpanTagsStream: false
  54. spanTagsAggParallelism: 6
  55. spanTagsSink2PgParallelism: 6
  56. enableDbMetricStream: false
  57. dbMetricAggParallelism: 6
  58. dbMetricFilterParallelism: 6
  59. dbMetricSink2PgParallelism: 6
  60. clickhouseStreamConfig:
  61. chHost: clickhouse.observe.svc.cluster.local:8123
  62. #chHost: ch-clickhouse.db.svc.cluster.local:8123
  63. chUser: default
  64. chPwd: "cecf@cestong.com"
  65. chWriterNum: 3
  66. chTimeoutSeconds: 10
  67. chWriteBufSize: 100000
  68. sinkTableName: otel.otel_traces_local
  69. mySqlConfig:
  70. dsn: jdbc:mysql://mysql-primary.observe.svc.cluster.local:3306/observe
  71. user: root
  72. pwd: "pg3mfWRtYonekZWB"
  73. traceURLConfig:
  74. enabled: false