https://kotlinlang.org logo
Title
c

Carlos Fau

05/15/2020, 12:06 AM
Hi, I'm very exited with KTor and I'm using it for several microservices. I created a Feature to integrate prometheus metrics on the http server. It was very easy. Then I created a Feature for the client side, but I got a little confused with the client pipelines and which is the best place to add the interceptor for measure total request time. I want to add to the measure the returned status code from the http response. Any help to understand pipelines and the proper place to inject metrics will be welcome.
k

krotki

05/15/2020, 6:19 PM
I think it will be better to ask on #ktor channel.
👍 1