<p>I am trying to implement Prometheus for my application hosted on Azure kubernetes. Currently the application does not have any authentication enabled, Prometheus is working fine.</p>
<p>However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?</p>

<blockquote>
<p>However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?</p>
</blockquote>
<p>This depends on how the application is implemented.</p>
<p>It is not common to add authentication also to the metrics endpoint. But sometimes the metrics endpoint is served on another port, e.g. <a href="https://docs.spring.io/spring-boot/docs/1.5.3.RELEASE/reference/html/production-ready-monitoring.html#production-ready-customizing-management-server-port" rel="nofollow noreferrer">Management Server Port</a> for Spring Boot.</p>
