Skip to content

Commit

Permalink
Add http breadcrumb level based on response code (#11083)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric committed Sep 2, 2024
1 parent 9c62af3 commit 4aef59c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions develop-docs/sdk/features.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,10 @@ Add a breadcrumb for each outgoing HTTP request after the request finishes:

- type: `http`
- category: `http`
- level
- `info` - response status code 2XX - 3XX
- `warning` - response status code 4XX
- `error` - response status code 5XX
- data (all fields are optional but recommended):
- `url` - The URL used in the HTTP request
- `http.request.method` - uppercase HTTP method, i.e: GET, HEAD
Expand Down

0 comments on commit 4aef59c

Please sign in to comment.