I'm interested in using it. However, it lacks support for metrics and logs and this prevents me from using Datadog for observability.
Also, is there a different between OpenTelemetry logs and the logs shipped to Datadog via the Log Drain integration?
If I could get even just OTEL metrics and traces sent from Vercel to Datadog that would greatly simplify my system.
Thanks 🙏
(edited)
I just watched this video and it helped me understand the difference between OTEL logs and which might be injected via a Log Drain.
Vercel Staff
Hey . It sounds like you've found some of the info you needed from that video. Are there any other questions you have about OTEL and Log Drains?
I understand the difference between logs and OTEL logs now.
I would like to know when the Vercel OpenTelemetry Collector for Datadog will be GA and have feature parity with the OTEL collector for New Relic. The Datadog integration is missing OTEL metrics and logs.
Thanks!
reply to #4
Vercel Staff
Great question. I believe feature support comes down to the individual OTEL integrations which are owned by their respective APM vendors, but I'm checking with the team to be sure.
There's also the option to use custom OTEL exporters without an integration for other APM vendors
The custom OTEL exporter is interesting but it only supports traces. It doesn't support OTEL metrics and logs like the New Relic beta collector.
When using the vercel otel collector: yes it is true that, as of today, datadog is the only provider which does not support logs/metrics.
(edited)
- I saw the code you linked and tried to use a logRecordProcessor to customize the logs before it is forwarded to Datadog. However this code here is not doing anything, the onEmit never gets called:
My goal is to add dd.trace_id and dd.span_id to the logs. I successfully do this to the spans with my DatadogSpanProcessor. But by your message I see that this is probably not possible with @vercel/otel correct? Is it possible without the otel package? As it seems logs forward to datadog even without installing the otel package.
It is possible to get traces from OTEL sent to Datadog. In my previous reply you see I have a DatadogSpanProcessor. That implementation is this: