WhizardTelemetry 平台服务是 WhizardTelemetry 可观测平台中各扩展组件的公共服务。它是各个可观测性扩展组件通用的 APIServer,为所有可观测性扩展组件提供公共的后端平台服务。

    配置说明:

    • 修改 WhizardTelemetry 平台服务的扩展组件配置,可配合 WhizardTelemetry 监控扩展组件,启用 Whizard 可观测中心。有关更多信息,请参阅 Whizard 可观测中心

    • 为 WhizardTelemetry 日志管理、WhizardTelemetry 审计管理、WhizardTelemetry 事件管理、以及通知历史配置 OpenSearch 日志接收器时,如果需要使用多个 OpenSearch 数据库,可以按如下配置。

    1. whizard-telemetry:
    2. config:
    3. monitoring:
    4. enabled: true
    5. kind: 0
    6. endpoint: http://prometheus-k8s.kubesphere-monitoring-system.svc:9090
    7. observability:
    8. enabled: false
    9. endpoint: "http://query-frontend-whizard-operated.kubesphere-monitoring-system.svc:10902"
    10. notification:
    11. endpoint: http://notification-manager-svc.kubesphere-monitoring-system.svc:19093
    12. history:
    13. enable: true
    14. server:
    15. elasticsearch:
    16. endpoints:
    17. - https://<the opensearch cluster url>:<port>
    18. version: opensearchv2
    19. indexPrefix: notification-history
    20. basicAuth: true
    21. username: admin
    22. password: admin
    23. auditing:
    24. enable: true
    25. servers:
    26. - elasticsearch:
    27. cluster:
    28. - cluster1
    29. - cluster2
    30. endpoints:
    31. - https://<the opensearch cluster url>:<port>
    32. version: opensearchv2
    33. indexPrefix: auditing
    34. basicAuth: true
    35. username: admin
    36. password: admin
    37. - elasticsearch:
    38. cluster:
    39. - cluster3
    40. - cluster4
    41. endpoints:
    42. - https://<the opensearch cluster url>:<port>
    43. version: opensearchv2
    44. indexPrefix: auditing
    45. basicAuth: true
    46. username: admin
    47. password: admin
    48. events:
    49. enable: true
    50. servers:
    51. - elasticsearch:
    52. cluster:
    53. - cluster1
    54. - cluster2
    55. endpoints:
    56. - https://opensearch-cluster-data.kubesphere-logging-system:9200
    57. version: opensearchv2
    58. indexPrefix: events
    59. basicAuth: true
    60. username: admin
    61. password: admin
    62. - elasticsearch:
    63. cluster:
    64. - cluster3
    65. - cluster4
    66. endpoints:
    67. - https://opensearch-cluster-data.kubesphere-logging-system:9200
    68. version: opensearchv2
    69. indexPrefix: events
    70. basicAuth: true
    71. username: admin
    72. password: admin
    73. logging:
    74. enable: true
    75. servers:
    76. - elasticsearch:
    77. cluster:
    78. - cluster1
    79. - cluster2
    80. endpoints:
    81. - https://<the opensearch cluster url>:<port>
    82. version: opensearchv2
    83. indexPrefix: logs
    84. basicAuth: true
    85. username: admin
    86. password: admin
    87. - elasticsearch:
    88. cluster:
    89. - cluster3
    90. - cluster4
    91. endpoints:
    92. - https://<the opensearch cluster url>:<port>
    93. version: opensearchv2
    94. indexPrefix: logs
    95. basicAuth: true
    96. username: admin
    97. password: admin