vector
vector copied to clipboard
Support multipart form uploads in http_server source
A note for the community
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Use Cases
I have a use case for Vector to proxy Pyroscope profile payloads from a client library to a Pyroscope destination. Some Pyroscope client libraries, namely including pyroscope-nodejs, send payloads as a multipart/form-data upload to the Pyroscope ingest API.
Attempted Solutions
It's currently possible, technically, to use a VRL remap to very crudely parse a multipart upload body with just string slicing, but it's difficult and brittle. I can provide code if it helps, but it probably shouldn't be used as a reference.
Proposal
It would be ideal to support multipart uploads natively in the http_server source.
References
- #21057
Version
0.40.0