Skip to content

Commit

Permalink
Clarify example for url.query (open-telemetry#601)
Browse files Browse the repository at this point in the history
  • Loading branch information
danelson authored Dec 13, 2023
1 parent 34184ac commit 2ec29a5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/http/http-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -388,15 +388,15 @@ The following attributes can be important for making sampling decisions and SHOU

### HTTP client-server example

As an example, if a browser request for `https://example.com:8080/webshop/articles/4?s=1` is invoked from a host with IP 192.0.2.4, we may have the following Span on the client side:
As an example, if a browser request for `https://example.com:8080/webshop/articles/4?s=1&t=2` is invoked from a host with IP 192.0.2.4, we may have the following Span on the client side:

Span name: `GET`

| Attribute name | Value |
| :------------------- | :-------------------------------------------------------|
| `http.request.method`| `"GET"` |
| `network.protocol.version` | `"1.1"` |
| `url.full` | `"https://example.com:8080/webshop/articles/4?s=1"` |
| `url.full` | `"https://example.com:8080/webshop/articles/4?s=1&t=2"` |
| `server.address` | `example.com` |
| `server.port` | `8080` |
| `network.peer.address` | `"192.0.2.5"` |
Expand All @@ -412,7 +412,7 @@ Span name: `GET /webshop/articles/:article_id`.
| `http.request.method`| `"GET"` |
| `network.protocol.version` | `"1.1"` |
| `url.path` | `"/webshop/articles/4"` |
| `url.query` | `"?s=1"` |
| `url.query` | `"s=1&t=2"` |
| `server.address` | `"example.com"` |
| `server.port` | `8080` |
| `url.scheme` | `"https"` |
Expand Down

0 comments on commit 2ec29a5

Please sign in to comment.