grafana / alloy

OpenTelemetry Collector distribution with programmable pipelines
https://grafana.com/oss/alloy
Apache License 2.0
997 stars 101 forks source link

Support Datadog exporter in Grafana Alloy #714

Open polyrain opened 2 months ago

polyrain commented 2 months ago

Request

Grafana Alloy wraps a lot of various Open Telemetry components, including some from the opentelemetry-collector-contrib repo (i.e. the Jaeger receiver).

This repo also has support for interacting with Datadog via OpenTelemetry, forming a receiver, connector, and exporter. While it'd be great to one day have all of these, just the exporter is necessary to have Grafana Alloy interact with Datadog today.

The exporter in v0.96.0 lacks full support for the HTTP Client settings, so if an upgrade to v0.99+ is in the near future for this repo then holding off is probably the right move as the configuration changed a bit here.

I've started working on a wrapper for the exporter library, but the documentation recommends raising an issue first before going forward with larger bodies of work.

Use case

Part of working with larger organisations is supporting a variety of tools, and being able to maintain support for Datadog telemetry (mostly traces) via Alloy enables users to maintain flexibility and slowly move their telemetry collection towards OSS.

wildum commented 2 months ago

The exporter in v0.96.0 lacks full support for the HTTP Client settings, so if an upgrade to v0.99+ is in the near future for this repo then holding off is probably the right move as the configuration changed a bit here.

FYI since v1.0.0 we committed to keep up with the Otel collector and update our dependency before every release. The update to v0.99 is currently WIP: https://github.com/grafana/alloy/pull/711

polyrain commented 2 months ago

The exporter in v0.96.0 lacks full support for the HTTP Client settings, so if an upgrade to v0.99+ is in the near future for this repo then holding off is probably the right move as the configuration changed a bit here.

FYI since v1.0.0 we committed to keep up with the Otel collector and update our dependency before every release. The update to v0.99 is currently WIP: https://github.com/grafana/alloy/pull/711

Ah, thanks for heads up! I'll pull those changes into my branch and add the full config support then. Cheers!

github-actions[bot] commented 1 month ago

This issue has not had any activity in the past 30 days, so the needs-attention label has been added to it. If the opened issue is a bug, check to see if a newer release fixed your issue. If it is no longer relevant, please feel free to close this issue. The needs-attention label signals to maintainers that something has fallen through the cracks. No action is needed by you; your issue will be kept open and you do not have to respond to this comment. The label will be removed the next time this job runs if there is new activity. Thank you for your contributions!

ezarko commented 3 days ago

@polyrain any update on this issue?

polyrain commented 3 days ago

@polyrain any update on this issue?

@ezarko Mainly waiting for more comms from the maintainers, there was a discussion on the Grafana Slack around it. All I know right now is... stay tuned?

wildum commented 3 days ago

Hey, thanks for your patience, and sorry that it takes so much time, we spent some time discussing how we should approach vendor-specific components. We are moving forward with a concept of community components and the Datadog exporter will be the first candidate. I will open the PR for this concept this week and ping you on it @polyrain. Once this is merged to main we will be able to integrate this component