opentelemetry sink and source not working peroperly together #22607
Labels
sink: opentelemetry
Anything `opentelemetry` sink related
source: opentelemetry
Anything `opentelemetry` source related
type: bug
A code related bug.
A note for the community
Problem
I'm trying to use the
opentelemetry
sink in one vector instance to send data to another vector instance'sopentelemetry
source. The receiving source returns a 400 Bad Request error with no additional info on the problem.I am creating the data object in a VRL remap. For the purpose of the experiment, I used a generic object (copied in the example data section).
I've seen from the source code that the
opentelemetry
source only acceptscontent-type: application/x-protobuf
so I'm using protobuf encoding on the sink.For the protobuf descriptor file, I have attempted generating it with the logs.proto file from the original opentelemetry repo here: https://github.com/open-telemetry/opentelemetry-proto/blob/main/opentelemetry/proto/logs/v1/logs.proto
Used the following settings for the encoding:
After looking at the source code for the vector source, I saw that it uses this proto for decoding, so I've also attempted to generate the descriptor with this as the root and using that for encoding settings, with the same result:
No helpful logs on the receiver source explaining what the issue is.
Configuration
Version
0.43.1
Debug Output
Example Data
Here's the input to the sink:
Additional Context
Both vector instances are running in Kubernetes in the same cluster. Logs confirm that the requests are from sink are reaching the source.
References
No response
The text was updated successfully, but these errors were encountered: