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.
However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?
However I would be enabling the Azure AD authentication to protect the application. In this case, would it break the Prometheus metric collection?
This depends on how the application is implemented.
It is not common to add authentication also to the metrics endpoint. But sometimes the metrics endpoint is served on another port, e.g. Management Server Port for Spring Boot.