configmap-agent.yaml 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. ---
  2. # Source: opentelemetry-collector/templates/configmap-agent.yaml
  3. apiVersion: v1
  4. kind: ConfigMap
  5. metadata:
  6. name: example-opentelemetry-collector-agent
  7. labels:
  8. helm.sh/chart: opentelemetry-collector-0.50.1
  9. app.kubernetes.io/name: opentelemetry-collector
  10. app.kubernetes.io/instance: example
  11. app.kubernetes.io/version: "0.73.0"
  12. app.kubernetes.io/managed-by: Helm
  13. data:
  14. relay: |
  15. exporters:
  16. logging: {}
  17. extensions:
  18. health_check: {}
  19. memory_ballast:
  20. size_in_percentage: 40
  21. processors:
  22. batch: {}
  23. memory_limiter:
  24. check_interval: 5s
  25. limit_percentage: 80
  26. spike_limit_percentage: 25
  27. receivers:
  28. jaeger:
  29. protocols:
  30. grpc:
  31. endpoint: ${MY_POD_IP}:14250
  32. thrift_compact:
  33. endpoint: ${MY_POD_IP}:6831
  34. thrift_http:
  35. endpoint: ${MY_POD_IP}:14268
  36. otlp:
  37. protocols:
  38. grpc:
  39. endpoint: ${MY_POD_IP}:4317
  40. http:
  41. endpoint: ${MY_POD_IP}:4318
  42. prometheus:
  43. config:
  44. scrape_configs:
  45. - job_name: opentelemetry-collector
  46. scrape_interval: 10s
  47. static_configs:
  48. - targets:
  49. - ${MY_POD_IP}:8888
  50. zipkin:
  51. endpoint: ${MY_POD_IP}:9411
  52. service:
  53. extensions:
  54. - health_check
  55. - memory_ballast
  56. pipelines:
  57. logs:
  58. exporters:
  59. - logging
  60. processors:
  61. - memory_limiter
  62. - batch
  63. receivers:
  64. - otlp
  65. metrics:
  66. exporters:
  67. - logging
  68. processors:
  69. - memory_limiter
  70. - batch
  71. receivers:
  72. - otlp
  73. - prometheus
  74. traces:
  75. exporters:
  76. - logging
  77. processors:
  78. - memory_limiter
  79. - batch
  80. receivers:
  81. - otlp
  82. - jaeger
  83. - zipkin
  84. telemetry:
  85. metrics:
  86. address: ${MY_POD_IP}:8888