Hello Team!
Whats the best way to get metrics from
ktor-client
? It looks like the
ktor-server
has some metrics integrations - but I couldn’t quite get the details for the client.
a
Aleksei Tirman [JB]
07/11/2022, 4:35 PM
What metrics are you interested in?
v
Vinay Pothnis
07/11/2022, 4:56 PM
I was mostly looking for metrics around:
• connection pool performance
• metrics related to the actual http calls
Vinay Pothnis
07/11/2022, 4:56 PM
thanks for responding @Aleksei Tirman [JB]!
a
Aleksei Tirman [JB]
07/12/2022, 11:45 AM
There is no built-in functionality in Ktor to provide such metrics. Feel free to file a feature request.
v
Vinay Pothnis
07/12/2022, 4:16 PM
ack! Thanks @Aleksei Tirman [JB]! Will do.
And yeah, since KTor supports multiple “engines” - it might be interesting/tricky to do things like connection pool related metrics generically.