Add per-host metrics
Under the hackney_host Telemetry key, host-based metrics are now exposed. The hostnames themselves are tagged as Telemetry metadata.
Note that the measurement value of the worker is now flushed after every call to report(), which means that the results sent to
telemetry are now effectively binned to the report interval (if any). This is done to prevent a growing worker state in the case of connections to many hosts.
Thanks!
Can you also add the changes to the Changelog?
It can be added to an development section while the release is being prepared.
Hi gang
Is this every going to be merged and published? :-)
Is this every going to be merged and published? :-)
Can you address @msramos's comment regarding the changelog?
@arjan I merged it today, but had to revert because I noticed that tests were failing for this PR. My mistake. 😅
We really appreciate your contribution and can merge it again if you can open another PR with the fix.