Azure kubernetes - Prometheus 访问受 Azure AD 保护的应用程序

Azure kubernetes - Prometheus accessing the application secured with Azure AD

我正在尝试为我在 Azure kubernetes 上托管的应用程序实施 Prometheus。目前该应用程序没有启用任何身份验证,Prometheus 工作正常。

但是我会启用 Azure AD 身份验证来保护应用程序。在这种情况下,它会破坏 Prometheus 指标集合吗?

However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?

这取决于应用程序的实施方式。

将身份验证也添加到指标端点并不常见。但有时指标端点在另一个端口上提供服务,例如Management Server Port 用于 Spring 引导。