Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
exporter/prometheusremotewriterexporter: close HTTP response body (op…
…en-telemetry#2875) Fixes a leak in HTTP responses after sending protobuf payloads to Amazon's endpoints. This change ensures that connections can be successfully reused, otherwise without invoking .Close() they won't easily be reused. Discovered while investigating for anything that could be averse to scalability of the exporter. Fixes open-telemetry#2874
- Loading branch information