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

Commit

Permalink
Update requests.mdx (#1331)
Browse files Browse the repository at this point in the history
  • Loading branch information
cleptric authored Jul 10, 2024
1 parent 7ac9314 commit bf34a3b
Showing 1 changed file with 2 additions and 2 deletions.
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

0 comments on commit bf34a3b

Please sign in to comment.