Skip to content

Commit

Permalink
fix(insights): Clarify Requests Insights span data requirements (#10539)
Browse files Browse the repository at this point in the history
* Added span eligibility

* Add linebreak

* Clarify instructions

- link explicitly to supported platform documentation
- link out to full developer documentation

Co-authored-by: rodolfoBee <[email protected]>
Co-authored-by: vivianyentran <[email protected]>
  • Loading branch information
3 people committed Jun 28, 2024
1 parent f4fff58 commit 7a11a9e
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/product/insights/requests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ On the [**Requests** page](#requests-page), you get an overview of the domains t
></iframe>
</div>

<br />

## Prerequisites and Limitations

<Note>
Expand All @@ -32,7 +34,12 @@ Network requests using non-HTTP protocols (FTP, WebSocket, etc.) are not support

Availability of HTTP request monitoring depends on the SDK your application uses. In most cases, Sentry's SDKs automatically enable HTTP request tracking. You can check your SDK's <PlatformLink to="/tracing/instrumentation/automatic-instrumentation">automatic instrumentation documentation</PlatformLink> to see if it includes tracking HTTP requests.

If the SDK you're using doesn't automatically instrument HTTP requests, you can instrument your application by following the <PlatformLink to="/tracing/instrumentation/custom-instrumentation/">custom instrumentation</PlatformLink> instructions. Because all the concepts are the same, if your platform doesn't have dedicated custom instrumentation instructions, you can try adapting the code from another platform.
If the SDK you're using doesn't automatically instrument HTTP requests, you can set up custom instrumentation. Dedicated platform documentation is available for these platforms:

- [Python SDK](/platforms/python/tracing/instrumentation/custom-instrumentation/requests-module/)
- [JavaScript SDK](/platforms/javascript/guides/node/tracing/instrumentation/custom-instrumentation/requests-module/)

If your platform doesn't have dedicated custom instrumentation instructions, you can try adapting the code from one of the supported platforms. In addition, you can also reference the [Requests Modules SDK development guide](https://develop.sentry.dev/sdk/performance/modules/requests/), which lists required span properties and their expected format.

## Requests Page

Expand Down

0 comments on commit 7a11a9e

Please sign in to comment.