Skip to content

Commit 4108795

Browse files
authored
Update CosmosDb snapshots (#6213)
## Summary of changes Updates the CosmosDb snapshots. ## Reason for change These aren't updated on CI and were out of date. Were included in #6010, but it looked like the ones included were already out of date, these should be goo. ## Implementation details Ran integration tests locally against v3.45.0 of Cosmos. ## Test coverage ## Other details https://datadoghq.atlassian.net/browse/AIDM-361 <!-- Fixes #{issue} --> <!-- ⚠️ Note: where possible, please obtain 2 approvals prior to merging. Unless CODEOWNERS specifies otherwise, for external teams it is typically best to have one review from a team member, and one review from apm-dotnet. Trivial changes do not require 2 reviews. -->
1 parent 42ad64d commit 4108795

File tree

2 files changed

+56
-14
lines changed

2 files changed

+56
-14
lines changed

tracer/test/snapshots/CosmosTests.SubmitTraces_SchemaV0.verified.txt

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,11 @@
1111
db.name: db,
1212
db.type: cosmosdb,
1313
env: integration_tests,
14+
language: dotnet,
1415
out.host: https://localhost:00000/,
1516
runtime-id: Guid_1,
16-
span.kind: client
17+
span.kind: client,
18+
_dd.base_service: Samples.CosmosDb
1719
},
1820
Metrics: {
1921
process_id: 0,
@@ -34,9 +36,11 @@
3436
db.name: db,
3537
db.type: cosmosdb,
3638
env: integration_tests,
39+
language: dotnet,
3740
out.host: https://localhost:00000/,
3841
runtime-id: Guid_1,
39-
span.kind: client
42+
span.kind: client,
43+
_dd.base_service: Samples.CosmosDb
4044
},
4145
Metrics: {
4246
process_id: 0,
@@ -57,9 +61,11 @@
5761
db.name: db,
5862
db.type: cosmosdb,
5963
env: integration_tests,
64+
language: dotnet,
6065
out.host: https://localhost:00000/,
6166
runtime-id: Guid_1,
62-
span.kind: client
67+
span.kind: client,
68+
_dd.base_service: Samples.CosmosDb
6369
},
6470
Metrics: {
6571
process_id: 0,
@@ -80,9 +86,11 @@
8086
db.name: db,
8187
db.type: cosmosdb,
8288
env: integration_tests,
89+
language: dotnet,
8390
out.host: https://localhost:00000/,
8491
runtime-id: Guid_1,
85-
span.kind: client
92+
span.kind: client,
93+
_dd.base_service: Samples.CosmosDb
8694
},
8795
Metrics: {
8896
process_id: 0,
@@ -104,9 +112,11 @@
104112
db.name: db,
105113
db.type: cosmosdb,
106114
env: integration_tests,
115+
language: dotnet,
107116
out.host: https://localhost:00000/,
108117
runtime-id: Guid_1,
109-
span.kind: client
118+
span.kind: client,
119+
_dd.base_service: Samples.CosmosDb
110120
},
111121
Metrics: {
112122
process_id: 0,
@@ -128,9 +138,11 @@
128138
db.name: db,
129139
db.type: cosmosdb,
130140
env: integration_tests,
141+
language: dotnet,
131142
out.host: https://localhost:00000/,
132143
runtime-id: Guid_1,
133-
span.kind: client
144+
span.kind: client,
145+
_dd.base_service: Samples.CosmosDb
134146
},
135147
Metrics: {
136148
process_id: 0,
@@ -152,9 +164,11 @@
152164
db.name: db,
153165
db.type: cosmosdb,
154166
env: integration_tests,
167+
language: dotnet,
155168
out.host: https://localhost:00000/,
156169
runtime-id: Guid_1,
157-
span.kind: client
170+
span.kind: client,
171+
_dd.base_service: Samples.CosmosDb
158172
},
159173
Metrics: {
160174
process_id: 0,
@@ -176,9 +190,11 @@
176190
db.name: db,
177191
db.type: cosmosdb,
178192
env: integration_tests,
193+
language: dotnet,
179194
out.host: https://localhost:00000/,
180195
runtime-id: Guid_1,
181-
span.kind: client
196+
span.kind: client,
197+
_dd.base_service: Samples.CosmosDb
182198
},
183199
Metrics: {
184200
process_id: 0,
@@ -198,9 +214,11 @@
198214
component: CosmosDb,
199215
db.type: cosmosdb,
200216
env: integration_tests,
217+
language: dotnet,
201218
out.host: https://localhost:00000/,
202219
runtime-id: Guid_1,
203-
span.kind: client
220+
span.kind: client,
221+
_dd.base_service: Samples.CosmosDb
204222
},
205223
Metrics: {
206224
process_id: 0,
@@ -220,9 +238,11 @@
220238
component: CosmosDb,
221239
db.type: cosmosdb,
222240
env: integration_tests,
241+
language: dotnet,
223242
out.host: https://localhost:00000/,
224243
runtime-id: Guid_1,
225-
span.kind: client
244+
span.kind: client,
245+
_dd.base_service: Samples.CosmosDb
226246
},
227247
Metrics: {
228248
process_id: 0,
@@ -242,9 +262,11 @@
242262
component: CosmosDb,
243263
db.type: cosmosdb,
244264
env: integration_tests,
265+
language: dotnet,
245266
out.host: https://localhost:00000/,
246267
runtime-id: Guid_1,
247-
span.kind: client
268+
span.kind: client,
269+
_dd.base_service: Samples.CosmosDb
248270
},
249271
Metrics: {
250272
process_id: 0,
@@ -264,9 +286,11 @@
264286
component: CosmosDb,
265287
db.type: cosmosdb,
266288
env: integration_tests,
289+
language: dotnet,
267290
out.host: https://localhost:00000/,
268291
runtime-id: Guid_1,
269-
span.kind: client
292+
span.kind: client,
293+
_dd.base_service: Samples.CosmosDb
270294
},
271295
Metrics: {
272296
process_id: 0,
@@ -287,9 +311,11 @@
287311
db.name: db,
288312
db.type: cosmosdb,
289313
env: integration_tests,
314+
language: dotnet,
290315
out.host: https://localhost:00000/,
291316
runtime-id: Guid_1,
292-
span.kind: client
317+
span.kind: client,
318+
_dd.base_service: Samples.CosmosDb
293319
},
294320
Metrics: {
295321
process_id: 0,
@@ -310,9 +336,11 @@
310336
db.name: db,
311337
db.type: cosmosdb,
312338
env: integration_tests,
339+
language: dotnet,
313340
out.host: https://localhost:00000/,
314341
runtime-id: Guid_1,
315-
span.kind: client
342+
span.kind: client,
343+
_dd.base_service: Samples.CosmosDb
316344
},
317345
Metrics: {
318346
process_id: 0,

tracer/test/snapshots/CosmosTests.SubmitTraces_SchemaV1.verified.txt

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
db.name: db,
1212
db.type: cosmosdb,
1313
env: integration_tests,
14+
language: dotnet,
1415
out.host: localhost,
1516
out.port: 8081,
1617
peer.service: db,
@@ -38,6 +39,7 @@
3839
db.name: db,
3940
db.type: cosmosdb,
4041
env: integration_tests,
42+
language: dotnet,
4143
out.host: localhost,
4244
out.port: 8081,
4345
peer.service: db,
@@ -65,6 +67,7 @@
6567
db.name: db,
6668
db.type: cosmosdb,
6769
env: integration_tests,
70+
language: dotnet,
6871
out.host: localhost,
6972
out.port: 8081,
7073
peer.service: db,
@@ -92,6 +95,7 @@
9295
db.name: db,
9396
db.type: cosmosdb,
9497
env: integration_tests,
98+
language: dotnet,
9599
out.host: localhost,
96100
out.port: 8081,
97101
peer.service: db,
@@ -120,6 +124,7 @@
120124
db.name: db,
121125
db.type: cosmosdb,
122126
env: integration_tests,
127+
language: dotnet,
123128
out.host: localhost,
124129
out.port: 8081,
125130
peer.service: db,
@@ -148,6 +153,7 @@
148153
db.name: db,
149154
db.type: cosmosdb,
150155
env: integration_tests,
156+
language: dotnet,
151157
out.host: localhost,
152158
out.port: 8081,
153159
peer.service: db,
@@ -176,6 +182,7 @@
176182
db.name: db,
177183
db.type: cosmosdb,
178184
env: integration_tests,
185+
language: dotnet,
179186
out.host: localhost,
180187
out.port: 8081,
181188
peer.service: db,
@@ -204,6 +211,7 @@
204211
db.name: db,
205212
db.type: cosmosdb,
206213
env: integration_tests,
214+
language: dotnet,
207215
out.host: localhost,
208216
out.port: 8081,
209217
peer.service: db,
@@ -230,6 +238,7 @@
230238
component: CosmosDb,
231239
db.type: cosmosdb,
232240
env: integration_tests,
241+
language: dotnet,
233242
out.host: localhost,
234243
out.port: 8081,
235244
peer.service: localhost,
@@ -256,6 +265,7 @@
256265
component: CosmosDb,
257266
db.type: cosmosdb,
258267
env: integration_tests,
268+
language: dotnet,
259269
out.host: localhost,
260270
out.port: 8081,
261271
peer.service: localhost,
@@ -282,6 +292,7 @@
282292
component: CosmosDb,
283293
db.type: cosmosdb,
284294
env: integration_tests,
295+
language: dotnet,
285296
out.host: localhost,
286297
out.port: 8081,
287298
peer.service: localhost,
@@ -308,6 +319,7 @@
308319
component: CosmosDb,
309320
db.type: cosmosdb,
310321
env: integration_tests,
322+
language: dotnet,
311323
out.host: localhost,
312324
out.port: 8081,
313325
peer.service: localhost,
@@ -335,6 +347,7 @@
335347
db.name: db,
336348
db.type: cosmosdb,
337349
env: integration_tests,
350+
language: dotnet,
338351
out.host: localhost,
339352
out.port: 8081,
340353
peer.service: db,
@@ -362,6 +375,7 @@
362375
db.name: db,
363376
db.type: cosmosdb,
364377
env: integration_tests,
378+
language: dotnet,
365379
out.host: localhost,
366380
out.port: 8081,
367381
peer.service: db,

0 commit comments

Comments
 (0)