Raman
Raman

Reputation: 21

Monitoring rest API calls in java/spring rest

I have a use case where we implemented spring rest api calls like below

/customer/payment 
/customer/info

But I wanted to implement or design the system like how many users are hitting my API in a day per user And what API they tried to access ?

As I know we have to intercept the request and read the headers and body of the request and store into some where by wring some other service.

Is it correct or something we have in spring framework it self ?

Please suggest

Upvotes: 0

Views: 2078

Answers (1)

Riaan Nel
Riaan Nel

Reputation: 2535

Have a look at Spring Boot Actuator. There's some additional reading available here: https://www.baeldung.com/spring-boot-actuator-http.

Upvotes: 1

Related Questions