You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: dev-packages/node-integration-tests/suites/tracing/postgresjs/test.ts
+16-16Lines changed: 16 additions & 16 deletions
Original file line number
Diff line number
Diff line change
@@ -11,15 +11,15 @@ describe('postgresjs auto instrumentation', () => {
11
11
'db.namespace': 'test_db',
12
12
'db.system.name': 'postgres',
13
13
'sentry.op': 'db',
14
-
'sentry.origin': 'manual',
14
+
'sentry.origin': 'auto.db.otel.postgres',
15
15
'server.address': 'localhost',
16
16
'server.port': 5444,
17
17
}),
18
18
description:
19
19
'CREATE TABLE "User" ("id" SERIAL NOT NULL,"createdAt" TIMESTAMP(?) NOT NULL DEFAULT CURRENT_TIMESTAMP,"email" TEXT NOT NULL,"name" TEXT,CONSTRAINT "User_pkey" PRIMARY KEY ("id"))',
20
20
op: 'db',
21
21
status: 'ok',
22
-
origin: 'manual',
22
+
origin: 'auto.db.otel.postgres',
23
23
parent_span_id: expect.any(String),
24
24
span_id: expect.any(String),
25
25
start_timestamp: expect.any(Number),
@@ -31,15 +31,15 @@ describe('postgresjs auto instrumentation', () => {
31
31
'db.namespace': 'test_db',
32
32
'db.system.name': 'postgres',
33
33
'sentry.op': 'db',
34
-
'sentry.origin': 'manual',
34
+
'sentry.origin': 'auto.db.otel.postgres',
35
35
'server.address': 'localhost',
36
36
'server.port': 5444,
37
37
}),
38
38
description:
39
39
"select b.oid, b.typarray from pg_catalog.pg_type a left join pg_catalog.pg_type b on b.oid = a.typelem where a.typcategory = 'A' group by b.oid, b.typarray order by b.oid",
40
40
op: 'db',
41
41
status: 'ok',
42
-
origin: 'manual',
42
+
origin: 'auto.db.otel.postgres',
43
43
parent_span_id: expect.any(String),
44
44
span_id: expect.any(String),
45
45
start_timestamp: expect.any(Number),
@@ -50,15 +50,15 @@ describe('postgresjs auto instrumentation', () => {
50
50
data: expect.objectContaining({
51
51
'db.namespace': 'test_db',
52
52
'db.system.name': 'postgres',
53
-
'sentry.origin': 'manual',
53
+
'sentry.origin': 'auto.db.otel.postgres',
54
54
'sentry.op': 'db',
55
55
'server.address': 'localhost',
56
56
'server.port': 5444,
57
57
}),
58
58
description: 'INSERT INTO "User" ("email", "name") VALUES (\'Foo\', \'[email protected]\')',
59
59
op: 'db',
60
60
status: 'ok',
61
-
origin: 'manual',
61
+
origin: 'auto.db.otel.postgres',
62
62
parent_span_id: expect.any(String),
63
63
span_id: expect.any(String),
64
64
start_timestamp: expect.any(Number),
@@ -70,14 +70,14 @@ describe('postgresjs auto instrumentation', () => {
70
70
'db.namespace': 'test_db',
71
71
'db.system.name': 'postgres',
72
72
'sentry.op': 'db',
73
-
'sentry.origin': 'manual',
73
+
'sentry.origin': 'auto.db.otel.postgres',
74
74
'server.address': 'localhost',
75
75
'server.port': 5444,
76
76
}),
77
77
description: 'UPDATE "User" SET "name" = \'Foo\' WHERE "email" = \'[email protected]\'',
78
78
op: 'db',
79
79
status: 'ok',
80
-
origin: 'manual',
80
+
origin: 'auto.db.otel.postgres',
81
81
parent_span_id: expect.any(String),
82
82
span_id: expect.any(String),
83
83
start_timestamp: expect.any(Number),
@@ -89,14 +89,14 @@ describe('postgresjs auto instrumentation', () => {
89
89
'db.namespace': 'test_db',
90
90
'db.system.name': 'postgres',
91
91
'sentry.op': 'db',
92
-
'sentry.origin': 'manual',
92
+
'sentry.origin': 'auto.db.otel.postgres',
93
93
'server.address': 'localhost',
94
94
'server.port': 5444,
95
95
}),
96
96
description: 'SELECT * FROM "User" WHERE "email" = \'[email protected]\'',
97
97
op: 'db',
98
98
status: 'ok',
99
-
origin: 'manual',
99
+
origin: 'auto.db.otel.postgres',
100
100
parent_span_id: expect.any(String),
101
101
span_id: expect.any(String),
102
102
start_timestamp: expect.any(Number),
@@ -108,14 +108,14 @@ describe('postgresjs auto instrumentation', () => {
108
108
'db.namespace': 'test_db',
109
109
'db.system.name': 'postgres',
110
110
'sentry.op': 'db',
111
-
'sentry.origin': 'manual',
111
+
'sentry.origin': 'auto.db.otel.postgres',
112
112
'server.address': 'localhost',
113
113
'server.port': 5444,
114
114
}),
115
115
description: 'SELECT * from generate_series(?,?) as x',
116
116
op: 'db',
117
117
status: 'ok',
118
-
origin: 'manual',
118
+
origin: 'auto.db.otel.postgres',
119
119
parent_span_id: expect.any(String),
120
120
span_id: expect.any(String),
121
121
start_timestamp: expect.any(Number),
@@ -127,14 +127,14 @@ describe('postgresjs auto instrumentation', () => {
127
127
'db.namespace': 'test_db',
128
128
'db.system.name': 'postgres',
129
129
'sentry.op': 'db',
130
-
'sentry.origin': 'manual',
130
+
'sentry.origin': 'auto.db.otel.postgres',
131
131
'server.address': 'localhost',
132
132
'server.port': 5444,
133
133
}),
134
134
description: 'DROP TABLE "User"',
135
135
op: 'db',
136
136
status: 'ok',
137
-
origin: 'manual',
137
+
origin: 'auto.db.otel.postgres',
138
138
parent_span_id: expect.any(String),
139
139
span_id: expect.any(String),
140
140
start_timestamp: expect.any(Number),
@@ -146,14 +146,14 @@ describe('postgresjs auto instrumentation', () => {
146
146
'db.namespace': 'test_db',
147
147
'db.system.name': 'postgres',
148
148
'sentry.op': 'db',
149
-
'sentry.origin': 'manual',
149
+
'sentry.origin': 'auto.db.otel.postgres',
150
150
'server.address': 'localhost',
151
151
'server.port': 5444,
152
152
}),
153
153
description: 'SELECT * FROM "User" WHERE "email" = \'[email protected]\'',
0 commit comments