Skip to content

Commit

Permalink
Fix HTTP client-server example
Browse files Browse the repository at this point in the history
Fixes open-telemetry#1541.

As per open-telemetry#342 this should be `network.peer.address` instead.
  • Loading branch information
arminru authored Oct 31, 2024
1 parent 80988c5 commit 9b81c91
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/http/http-spans.md
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ Span name: `GET /webshop/articles/:article_id`.
| `http.route` | `"/webshop/articles/:article_id"` |
| `http.response.status_code` | `200` |
| `client.address` | `"192.0.2.4"` |
| `client.socket.address` | `"192.0.2.5"` (the client goes through a proxy) |
| `network.peer.address` | `"192.0.2.5"` (the client goes through a proxy) |
| `user_agent.original` | `"Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:72.0) Gecko/20100101 Firefox/72.0"` |

### HTTP client retries examples
Expand Down

0 comments on commit 9b81c91

Please sign in to comment.