Skip to content

tower_http::trace::TraceLayer.on_eos can not be called #2453

Answered by davidpdrsn
kobe2000 asked this question in Q&A
Discussion options

You must be logged in to vote

That's not what on_eos is intended for. In order to get accurate measurements, including IO, you'll have to use hyper. I'm not sure which APIs hyper has to measure this kinda of stuff but try asking in hyper's discord channel.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by kobe2000
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #2452 on December 28, 2023 10:38.