'Disable Interceptor call for Actuator in Spring boot based Microservices architecture
I am working on a POC(Prometheus) that requires to make a call to our Spring boot application which is based on microservices architecture.
Prometheus needs to make a API call to configured application for scraping the data. Its a GET call. There are multiple war in our application and one of war is configured with Prometheus.
API call from Prometheus to my application gets block due to existing interceptors. The blocking interceptors are part of configured war dependencies(so we can't tweak them directly).
Below API is invoked to scrape data -
http://localhost:7001/deployedWar/actuator/metrics
I need a way bypass interceptor calls for actuator. I have posted another similar question, but didn't get any reply over it too.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
