

本文為英文版的機器翻譯版本，如內容有任何歧義或不一致之處，概以英文版為準。

# 使用 Prometheus 監控 MSK 佈建叢集
<a name="open-monitoring"></a>

您可以使用 Prometheus 監控 MSK 佈建的叢集，這是時間序列指標資料的開放原始碼監控系統。您可以使用 Prometheus 的遠端寫入功能，將此資料發布到適用 Amazon Managed Service for Prometheus。您也可以使用與 Prometheus 格式指標相容的工具，或與 Amazon MSK Open Monitoring 整合的工具，例如 [Datadog](https://docs.datadoghq.com/integrations/amazon_msk/)、[Lenses](https://docs.lenses.io/latest/deployment/configuration/agent/automation/kafka/aws-msk)、[New Relic](https://docs.newrelic.com/docs/integrations/amazon-integrations/aws-integrations-list/aws-managed-kafka-msk-integration) 和 [Sumo 邏輯](https://help.sumologic.com/03Send-Data/Collect-from-Other-Data-Sources/Amazon_MSK_Prometheus_metrics_collection)。開放式監控提供免費使用，但是針對跨可用區域的資料傳輸則會產生費用。

如需 Prometheus 的資訊，請參閱 [Prometheus documentation](https://prometheus.io/docs)。

如需有關使用 Prometheus 的資訊，請參閱[使用 Amazon Managed Service for Prometheus 和 Amazon Managed Grafana 增強 Amazon MSK 的操作洞察](https://aws.amazon.com/blogs//big-data/enhance-operational-insights-for-amazon-msk-using-amazon-managed-service-for-prometheus-and-amazon-managed-grafana/)。

**注意**  
KRaft 中繼資料模式和 MSK Express 代理程式無法同時啟用開放監控和公開存取。