# Log and Trace Drains

## [Overview](https://docs.sentry.io/product/drains.md#overview)

Drains and forwarders let you send [logs](https://docs.sentry.io/product/explore/logs.md) and [traces](https://docs.sentry.io/product/explore/trace-explorer.md) to Sentry without modifying your application code. They're ideal when:

* You want to capture **platform-level telemetry** from your hosting infrastructure (e.g., Vercel Build Logs, Cloudflare Workers Traces).
* You **can't install Sentry SDKs** directly in your application (e.g., Nginx Traces, Postgres Logs)
* You're using an existing OpenTelemetry pipeline and want to start routing logs and traces data to Sentry via Sentry's [OpenTelemetry support](https://docs.sentry.io/concepts/otlp.md).

Sending error events via drains or forwarders is not currently supported. To capture errors you'll need to add the [Sentry SDK](https://docs.sentry.io/platforms.md) to your application.

## [Platform Drains](https://docs.sentry.io/product/drains.md#platform-drains)

**Platform drains** connect your hosting platform's native telemetry system directly to Sentry (e.g., Vercel, Cloudflare, Heroku)

| Platform                                                                                  | Logs | Traces |
| ----------------------------------------------------------------------------------------- | ---- | ------ |
| [Vercel](https://docs.sentry.io/product/drains/integration/vercel.md)                     | ✅    | ✅      |
| [Cloudflare Workers](https://docs.sentry.io/product/drains/integration/cloudflare.md)     | ✅    | ✅      |
| [Heroku](https://docs.sentry.io/product/drains/integration/heroku.md)                     | ✅    | ✅      |
| [OpenRouter](https://docs.sentry.io/product/drains/integration/openrouter.md)             | ❌    | ✅      |
| [Supabase](https://docs.sentry.io/product/drains/integration/supabase.md)                 | ✅    | ❌      |
| [Shopify Hydrogen](https://docs.sentry.io/product/drains/integration/shopify-hydrogen.md) | ❌    | ✅      |

## [Forwarders](https://docs.sentry.io/product/drains.md#forwarders)

**Forwarders** collect logs and traces from various sources and route them to Sentry.

| Forwarder                                                                                                             | Logs | Traces |
| --------------------------------------------------------------------------------------------------------------------- | ---- | ------ |
| [OpenTelemetry Collector](https://docs.sentry.io/product/drains/integration/opentelemetry-collector.md) (recommended) | ✅    | ✅      |
| [Vector](https://docs.sentry.io/product/drains/integration/vector.md)                                                 | ✅    | ❌      |
| [Fluent Bit](https://docs.sentry.io/product/drains/integration/fluentbit.md)                                          | ✅    | ✅      |

### [OpenTelemetry Collector guides](https://docs.sentry.io/product/drains.md#opentelemetry-collector-guides)

* [Forwarding AWS CloudWatch Logs to Sentry](https://docs.sentry.io/product/drains/otlp-guides/aws-cloudwatch.md)
* [Forwarding Logs and Traces from Kafka to Sentry](https://docs.sentry.io/product/drains/otlp-guides/kafka.md)
* [Forwarding Nginx Logs to Sentry](https://docs.sentry.io/product/drains/otlp-guides/nginx.md)
* [Forwarding Syslog Messages to Sentry](https://docs.sentry.io/product/drains/otlp-guides/syslog.md)
* [Forwarding Windows Event Logs to Sentry](https://docs.sentry.io/product/drains/otlp-guides/windows-events.md)

## [Learn More](https://docs.sentry.io/product/drains.md#learn-more)

* [Logs](https://docs.sentry.io/product/explore/logs.md): View, search, and analyze logs in Sentry
* [Trace Explorer](https://docs.sentry.io/product/explore/trace-explorer.md): View, search, and analyze traces in Sentry
* [OpenTelemetry Protocol](https://docs.sentry.io/concepts/otlp.md): Learn about Sentry's OpenTelemetry support and how to export OTLP data to Sentry

Sending [metrics](https://docs.sentry.io/product/explore/metrics.md) via drains or forwarders is not currently supported. If you're interested this support for this please reach out on [GitHub](https://github.com/getsentry/sentry/issues/103486) or or email us at <feedback-metrics@sentry.io>.
