This repository was archived by the owner on Aug 14, 2024. It is now read-only.
Description In SDK Expected Features we need some guideline of what we expect from integrating with HTTP clients in SDKs, when that's possible.
For example:
Add a breadcrumb to the Scope (so error events show that request)
Mention the breadcrumb categories and types that make sense here. Include HTTP status.
category could be the name of the HTTP integration. Type is http. Docs
Get some metrics (that for now can go as breadcrumb.data Example: bytes In, Bytes Out).
Should the SDK raise an event if a 5xx comes? If so what contexts.. If not, how does it propagate context upstream?
If Performance Monitoring is supported by the SDK:
Create a Span, child to the current Span bound to the Hub
Finish the span as success or failure depending on response HTTP status (500 is a failed Span)
We need to align/discuss 4xx and other status code range.
Include sentry-trace id to propagate a transaction downstream. Link to specific docs .
Link to some examples:
.NET
Java
Python
Reactions are currently unavailable
In SDK Expected Features we need some guideline of what we expect from integrating with HTTP clients in SDKs, when that's possible.
For example:
categorycould be the name of the HTTP integration. Type ishttp. DocsIf Performance Monitoring is supported by the SDK:
sentry-traceid to propagate a transaction downstream. Link to specific docs.Link to some examples:
.NET
Java
Python