vector
vector copied to clipboard
feat(core): Log response bodies in HTTP request debug
Context
The goal of this issue is to track the work required to add response bodies to the http debugging functionality already in main branch.
More context here: https://github.com/vectordotdev/vector/issues/5024
General steps are set up below
- [ ] Follow Vector getting started tutorial
- [ ] Set up a lading software to send requests to
- [ ] Read and understand
/src/http.rs
andsrc/internal_events/http_client.rs
- [ ] Set up a vector config that uses that lading software
- [ ] Run
env VECTOR_LOG=debug cargo vdev run config.toml
- [ ] Begin making changes in http_client.rs
- [ ] Hardcode number of bytes to be stored in memory / displayed in stdout
- [ ] Add traits to support vectors on the B trait for http client
- [ ] Use a crate that allows us to read the response body
- [ ] Rewrite display implementation for function
Use Cases
Users will be able to view the response body for debugging purposes