Skip to content
This repository has been archived by the owner on Aug 14, 2024. It is now read-only.

Update requests.mdx #1331

Merged
merged 1 commit into from
Jul 10, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/docs/sdk/performance/modules/requests.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The SDK should auto-instrument all outgoing HTTP requests, regardless of the lib
| Attribute | Description | Notes |
|:--|:--|:--|
| `op` | Always `"http.client"` | Required |
| `description` | A string including the HTTP request method, and the full URL. e.g., `"GET https://example.com/data.json?filter=all"` | Required [^1] |
| `description` | A string including the HTTP request method, and the full URL. e.g., `"GET https://example.com/data.json"` | Required [^1] |
| `data` | A key-value mapping of span attributes. (e.g., `{"http.query": "filter=all", "server.address": "prod-2.example.com"}`) | Required for full experience. See [Span Data](#span-data) for details |

### Span Data
Expand All @@ -31,7 +31,7 @@ Should result in the following span, assuming the request was successful:

```json
{
"description": "GET /data.json?user=1",
"description": "GET /data.json",
"op": "http.client",
"data": {
"http.query": "user=1",
Expand Down
Loading