-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support ingesting OpenTelemetry metrics #17309
Comments
I was just trying out Vector for a PoC and was bumped to see it didn't support OTLP metrics yet, but now I'm happy to see you self-assigned, @pront :) Does this mean we can look forward to this soon? |
Hi @arendjr, yes, I will be working on this in the following weeks! |
Quick update, unfortunately this has been put on hold for now. We will update this issue if something changes. |
Too bad. Do you think it’s something that could be reasonably picked up by an outside contributor? If you have some pointers, I might have a chance to look at it. |
Any updates or alternatives for this? |
@pront Any updates on this? |
Why can't I simply use the http sink in vector to send json encoded data to otel http endpoint? |
@mayanksingh2298 I think you can as long as both sides support OTEL via HTTP ? |
otel definitely does: https://github.com/open-telemetry/opentelemetry-proto/blob/main/examples/README.md I can configure my source to do so. Any tips on debugging this? |
Probably something with the encoding, I havent tried this this yet. Default method is POST in Vector |
I used tcpdump to analyze the requests. Turns out vector sends an array [{},...] of jsons but otel collector expects a single json. I followed this comment by @EdMcBane #3378 (comment) and it helped me out. |
In summary this is my workaround config to send otel traces (also works with other telemetry) to an otel collector.
Hopefully this helps someone |
@mayanksingh2298 Thanks for sharing, you could also split by newline in a separate step, but yours should work too |
Is there any work being done on this? I feel like the limitations on receiving and sending OpenTelemetry-data is a tad problematic. I'm happy to try to look into this myself, but it'd be helpful to understand why progress was halted initially |
I think the challenge will be mapping OTLP to Vector's internal data model (which might require expanding Vector's internal data model). This is a fairly broad change which is why it hasn't happened just yet, though I recognize OTLP support is particularly important for a tool like Vector and so we will get there eventually. |
Ref: #16121
The text was updated successfully, but these errors were encountered: