Skip to content

Commit a88f6a5

Browse files
Fix SQL queries
Fix incorrect attributes.
1 parent bdbb6a6 commit a88f6a5

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

docker/docker-compose-aspnetcore/oats.mssql-query.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ expected:
99
- name: 'master'
1010
attributes:
1111
db.system: mssql
12-
db.statement_type: Text
12+
db.name: master
13+
#db.statement: sp_server_info
14+
#db.statement_type: Text
1315
otel.library.name: OpenTelemetry.Instrumentation.SqlClient

docker/docker-compose-aspnetcore/oats.mssql-sproc.yaml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,7 @@ expected:
99
- name: 'master'
1010
attributes:
1111
db.system: mssql
12-
db.statement_type: StoredProcedure
12+
db.name: master
13+
db.statement: sp_server_info
14+
#db.statement_type: StoredProcedure
1315
otel.library.name: OpenTelemetry.Instrumentation.SqlClient

0 commit comments

Comments
 (0)