Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for OTLP over HTTP/protobuf (honeycombio#279)
Adds support for ingesting OTLP requests over HTTP with protobuf data. Changs in this PR: - Move the existing gRPC export handler and helpers to to otlp_trace.go and tests into otlp_trace_test.go - Add HTTP handler postOTLP that retrieves honeycomb headers, decodes the request body into a OTLP - ExportTraceRequest and hands to internal function to process request - Update OTLP grpc Export handler to retrieve honeycomb headers from metadata and hand request to new internal function to process - Adds tests to verify rejection behaviour for non-protobuf based requests to postOTLP and test to pass request to postOTLP handler endpoint
- Loading branch information