Instrumentation

Learn what Sentry instruments automatically, and how to configure spans to capture tracing data on any action in your app.

There are two ways that instrumentation is applied to your application:

Many integrations for popular framewo that can be sent to Sentry. Read more about automatic instrumentation here.

To add custom performance data to your application, you need to add custom instrumentation in the form of spans. Spans are a way to measure the time it takes for a specific action to occur. For example, you can create a span to measure the time it takes for a function to execute. Learn more about span lifecycles here.

Was this helpful?
Help improve this content
Our documentation is open source and available on GitHub. Your contributions are welcome, whether fixing a typo (drat!) or suggesting an update ("yeah, this would be better").