# OpenTelemetry Support | Sentry for Astro

The Sentry SDK uses [OpenTelemetry](https://opentelemetry.io/.md) under the hood. This means that any OpenTelemetry instrumentation that emits spans will automatically be picked up by Sentry without any further configuration.

To start capturing traces and spans, set up [Tracing and Performance Monitoring with your Sentry SDK](https://docs.sentry.io/platforms/javascript/guides/astro/tracing.md). If you don't use tracing, Sentry still connects to OpenTelemetry under the hood to ensure that context isolation and trace propagation works correctly.

By default, Sentry will automatically set up OpenTelemetry for you, but you can also use your own OpenTelemetry setup. Read the guides below to learn how to use a custom OpenTelemetry setup or how to get the most out of the Sentry and OpenTelemetry integration.

* #### [Using Your Existing OpenTelemetry Setup](https://docs.sentry.io/platforms/javascript/guides/astro/opentelemetry/custom-setup.md)

  Learn how to use your existing custom OpenTelemetry setup with Sentry.

* #### [Using OpenTelemetry APIs](https://docs.sentry.io/platforms/javascript/guides/astro/opentelemetry/using-opentelemetry-apis.md)

  Learn how to use OpenTelemetry APIs with Sentry.
