config.yaml 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. kubernetes:
  2. namespace: data
  3. taskmanager:
  4. cpu:
  5. amount: 2
  6. limit-factor: 1
  7. annotations:
  8. prometheus.io/port: 9249
  9. prometheus.io/scrape: true
  10. jobmanager:
  11. annotations:
  12. prometheus.io/port: 9249
  13. prometheus.io/scrape: true
  14. prometheus.io/path: /
  15. pod-template-file:
  16. taskmanager: ./conf/taskmanager-pod-template.yaml
  17. jobmanager: ./conf/jobmanager-pod-template.yaml
  18. env:
  19. java:
  20. opts:
  21. all: "-Da=b"
  22. jobmanager: "-javaagent:/opentelemetry-javaagent.jar -Dotel.exporter.otlp.protocol=grpc -Dotel.service.name=ob-agent-stream -Dotel.resource.attributes=key=value -Dotel.logs.exporter=otlp -Dotel.traces.exporter=none -Dotel.metrics.exporter=none -Dotel.exporter.otlp.endpoint=http://otel-collector-opentelemetry-collector.observe.svc.cluster.local:4317 "
  23. taskmanager: "-javaagent:/opentelemetry-javaagent.jar -Dotel.exporter.otlp.protocol=grpc -Dotel.service.name=ob-agent-stream -Dotel.resource.attributes=key=value -Dotel.logs.exporter=otlp -Dotel.traces.exporter=none -Dotel.metrics.exporter=none -Dotel.exporter.otlp.endpoint=http://otel-collector-opentelemetry-collector.observe.svc.cluster.local:4317 "
  24. jobmanager:
  25. bind-host: localhost
  26. rpc:
  27. address: localhost
  28. port: 6123
  29. memory:
  30. process:
  31. size: 1600m
  32. execution:
  33. failover-strategy: region
  34. taskmanager:
  35. bind-host: localhost
  36. host: localhost
  37. numberOfTaskSlots: 1
  38. memory:
  39. managed:
  40. size: 300mb
  41. process:
  42. size: 8gb
  43. task:
  44. off-heap:
  45. size: 1gb
  46. network:
  47. fraction: 0.1
  48. parallelism:
  49. default: 1
  50. pipeline:
  51. serialization-config:
  52. - io.opentelemetry.proto.collector.trace.v1.ExportTraceServiceRequest:
  53. type: kryo
  54. kryo-type: registered
  55. class: com.twitter.chill.protobuf.ProtobufSerializer
  56. rest:
  57. flamegraph:
  58. enabled: true
  59. profiling:
  60. enabled: true
  61. metrics:
  62. latency:
  63. interval: 15
  64. reporter:
  65. prom:
  66. port: 9249
  67. factory:
  68. class: org.apache.flink.metrics.prometheus.PrometheusReporterFactory
  69. scope:
  70. variables:
  71. additional:
  72. biz: ob-agent-stream
  73. execution:
  74. checkpointing:
  75. interval: 1min
  76. state:
  77. backend:
  78. type: hashmap
  79. checkpoints:
  80. dir: s3p://oas/checkpoints
  81. savepoints:
  82. dir: s3p://oas/savepoints
  83. s3:
  84. access-key: "BYerwM0myK9T6eNI4iuj"
  85. secret-key: "t75gCyLr61etpR66183OStc3e4PoLkHMe6pwauZ1"
  86. endpoint: http://minio.base.svc.cluster.local:9000
  87. path:
  88. style:
  89. access: true