Hi Guys, 

Hope everyone is doing well! 

I have started using Prometheus to collect metrics for my application which 
is implemented in Java spring boot 2.x framework. I have used 
"micrometer-registry-prometheus" library but this required some annotation 
to be done in the code and moreover customize the bean configuration. 

*Monitoring use-case for my application -* 
*1*. I have to count the number of time REST API/Endpoint has been invoked
*2.* I have to also capture REST request Input/response Output generated 
and scrape it to metrics server i.e. Prometheus and using this metrics I 
have to calculate i.e. number of time the "value" is returned in the 
response output and same for request input i.e. number of time the specific 
"value" is passed as in the input payload. 

Could you please help how can I achieve above two points using Prometheus 
and its client-libraries? And is there a way to achieve without 
instrumenting the app code? This will help to decouple the application 
codebase from instrumentation.

Thanks!!
Ketan

-- 
You received this message because you are subscribed to the Google Groups 
"Prometheus Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to prometheus-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/prometheus-users/7fcc0fae-366c-457b-a0c4-6a9483f642a2%40googlegroups.com.

Reply via email to