7.4. 在 OpenShift 3.11 中查看 Kafka 指标和仪表板

当将 AMQ Streams 部署到 OpenShift Container Platform 3.11 时,您可以使用 Prometheus 为 AMQ Streams 提供的示例 Grafana 仪表板提供监控数据。您需要手动将 Prometheus 组件部署到集群中。

要运行 Grafana 仪表板示例,您必须:

注意

本节中引用的资源旨在作为设置监控的起点,但仅作为示例提供。如果需要进一步支持在生产环境中配置和运行 Prometheus 或 Grafana,请尝试联系其各自的社区。

7.4.1. Prometheus 支持

当 AMQ Streams 部署到 OpenShift Container Platform 3.11 时,不支持 Prometheus 服务器。但是,支持 Prometheus 端点和用于公开指标的 Prometheus JMX Exporter。

为方便起见,我们提供详细说明和示例指标配置文件,以便您希望使用 Prometheus 进行监控。