Skip to content

Commit a1f5568

Browse files
committed
.
1 parent eca2533 commit a1f5568

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

tests/integrations/aiomysql/test_aiomysql.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,8 @@ def _get_db_name():
4444
"category": "query",
4545
"data": ApproxDict(
4646
{
47-
"db.name": MYSQL_DB,
48-
"db.system": "mysql",
47+
"db.namespace": MYSQL_DB,
48+
"db.system.name": "mysql",
4949
"db.user": MYSQL_USER,
5050
"server.address": MYSQL_HOST,
5151
"server.port": MYSQL_PORT,
@@ -684,7 +684,7 @@ async def test_connection_pool(sentry_init, capture_events) -> None:
684684
connect_crumbs = [c for c in crumbs if c.get("message") == "connect"]
685685
assert len(connect_crumbs) >= pool_size # One connect span per pooled connection
686686
for crumb in connect_crumbs:
687-
assert crumb["data"]["db.system"] == "mysql"
687+
assert crumb["data"]["db.system.name"] == "mysql"
688688
assert crumb["data"]["server.address"] == MYSQL_HOST
689689

690690

0 commit comments

Comments
 (0)