Skip to content

Commit

Permalink
remove network from db examples
Browse files Browse the repository at this point in the history
  • Loading branch information
lmolkova committed Feb 15, 2024
1 parent 8c1ea0d commit 4cae674
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 8 deletions.
3 changes: 0 additions & 3 deletions docs/database/mongodb.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,6 @@ described on this page.
| `db.user` | `"the_user"` |
| `server.address` | `"mongodb0.example.com"` |
| `server.port` | `27017` |
| `network.peer.address` | `"192.0.2.14"` |
| `network.peer.port` | `27017` |
| `network.transport` | `"tcp"` |
| `db.name` | `"shopDb"` |
| `db.statement` | not set |
| `db.operation` | `"findAndModify"` |
Expand Down
3 changes: 1 addition & 2 deletions docs/database/redis.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,7 @@ Furthermore, `db.name` is not specified as there is no database name in Redis an
| `db.system` | `"redis"` |
| `db.connection_string` | not set |
| `db.user` | not set |
| `network.peer.address` | `"/tmp/redis.sock"` |
| `network.transport` | `"unix"` |
| `server.address` | `"/tmp/redis.sock"` |
| `db.name` | not set |
| `db.statement` | `"HMSET myhash field1 'Hello' field2 'World"` |
| `db.operation` | not set |
Expand Down
3 changes: 0 additions & 3 deletions docs/database/sql.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,6 @@ This is an example of attributes for a MySQL database span:
| `db.user` | `"billing_user"` |
| `server.address` | `"shopdb.example.com"` |
| `server.port` | `3306` |
| `network.peer.address` | `"192.0.2.12"` |
| `network.peer.port` | `3306` |
| `network.transport` | `"tcp"` |
| `db.name` | `"ShopDb"` |
| `db.statement` | `"SELECT * FROM orders WHERE order_id = 'o4711'"` |
| `db.operation` | `"SELECT"` |
Expand Down

0 comments on commit 4cae674

Please sign in to comment.