Skip to content

Commit 8aa1fd3

Browse files
authored
feat: Add peer.service and tracer updates to snapshot tests (#352)
1 parent ff0984b commit 8aa1fd3

8 files changed

+326
-74
lines changed

tests/integration/snapshots/logs/async-metrics_python310.log

Lines changed: 36 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
6868
"http.status_code": "200",
6969
"peer.service": "integration-tests-python",
7070
"_dd.p.dm": "-0",
71-
"language": "python"
71+
"language": "python",
72+
"_dd.peer.service.source": "peer.service"
7273
},
7374
"metrics": {
7475
"process_id": XXXX,
@@ -127,6 +128,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
127128
"span.kind": "client",
128129
"http.method": "GET",
129130
"http.url": "https://datadoghq.com/",
131+
"out.host": "datadoghq.com",
130132
"http.status_code": "200",
131133
"http.useragent": "python-requests/X.X.X"
132134
},
@@ -152,6 +154,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
152154
"span.kind": "client",
153155
"http.method": "GET",
154156
"http.url": "https://www.datadoghq.com/",
157+
"out.host": "www.datadoghq.com",
155158
"http.status_code": "200",
156159
"http.useragent": "python-requests/X.X.X"
157160
},
@@ -232,7 +235,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
232235
"_inferred_span.tag_source": "self",
233236
"peer.service": "integration-tests-python",
234237
"_dd.p.dm": "-0",
235-
"language": "python"
238+
"language": "python",
239+
"_dd.peer.service.source": "peer.service"
236240
},
237241
"metrics": {
238242
"process_id": XXXX,
@@ -287,6 +291,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
287291
"span.kind": "client",
288292
"http.method": "GET",
289293
"http.url": "https://datadoghq.com/",
294+
"out.host": "datadoghq.com",
290295
"http.status_code": "200",
291296
"http.useragent": "python-requests/X.X.X"
292297
},
@@ -312,6 +317,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
312317
"span.kind": "client",
313318
"http.method": "GET",
314319
"http.url": "https://www.datadoghq.com/",
320+
"out.host": "www.datadoghq.com",
315321
"http.status_code": "200",
316322
"http.useragent": "python-requests/X.X.X"
317323
},
@@ -386,7 +392,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
386392
"_inferred_span.tag_source": "self",
387393
"peer.service": "integration-tests-python",
388394
"_dd.p.dm": "-0",
389-
"language": "python"
395+
"language": "python",
396+
"_dd.peer.service.source": "peer.service"
390397
},
391398
"metrics": {
392399
"process_id": XXXX,
@@ -440,6 +447,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
440447
"span.kind": "client",
441448
"http.method": "GET",
442449
"http.url": "https://datadoghq.com/",
450+
"out.host": "datadoghq.com",
443451
"http.status_code": "200",
444452
"http.useragent": "python-requests/X.X.X"
445453
},
@@ -465,6 +473,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
465473
"span.kind": "client",
466474
"http.method": "GET",
467475
"http.url": "https://www.datadoghq.com/",
476+
"out.host": "www.datadoghq.com",
468477
"http.status_code": "200",
469478
"http.useragent": "python-requests/X.X.X"
470479
},
@@ -549,7 +558,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
549558
"http.status_code": "200",
550559
"peer.service": "integration-tests-python",
551560
"_dd.p.dm": "-0",
552-
"language": "python"
561+
"language": "python",
562+
"_dd.peer.service.source": "peer.service"
553563
},
554564
"metrics": {
555565
"process_id": XXXX,
@@ -608,6 +618,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
608618
"span.kind": "client",
609619
"http.method": "GET",
610620
"http.url": "https://datadoghq.com/",
621+
"out.host": "datadoghq.com",
611622
"http.status_code": "200",
612623
"http.useragent": "python-requests/X.X.X"
613624
},
@@ -633,6 +644,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
633644
"span.kind": "client",
634645
"http.method": "GET",
635646
"http.url": "https://www.datadoghq.com/",
647+
"out.host": "www.datadoghq.com",
636648
"http.status_code": "200",
637649
"http.useragent": "python-requests/X.X.X"
638650
},
@@ -713,7 +725,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
713725
"_inferred_span.tag_source": "self",
714726
"peer.service": "integration-tests-python",
715727
"_dd.p.dm": "-0",
716-
"language": "python"
728+
"language": "python",
729+
"_dd.peer.service.source": "peer.service"
717730
},
718731
"metrics": {
719732
"process_id": XXXX,
@@ -768,6 +781,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
768781
"span.kind": "client",
769782
"http.method": "GET",
770783
"http.url": "https://datadoghq.com/",
784+
"out.host": "datadoghq.com",
771785
"http.status_code": "200",
772786
"http.useragent": "python-requests/X.X.X"
773787
},
@@ -793,6 +807,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
793807
"span.kind": "client",
794808
"http.method": "GET",
795809
"http.url": "https://www.datadoghq.com/",
810+
"out.host": "www.datadoghq.com",
796811
"http.status_code": "200",
797812
"http.useragent": "python-requests/X.X.X"
798813
},
@@ -870,7 +885,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
870885
"_inferred_span.tag_source": "self",
871886
"peer.service": "integration-tests-python",
872887
"_dd.p.dm": "-0",
873-
"language": "python"
888+
"language": "python",
889+
"_dd.peer.service.source": "peer.service"
874890
},
875891
"metrics": {
876892
"process_id": XXXX,
@@ -925,6 +941,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
925941
"span.kind": "client",
926942
"http.method": "GET",
927943
"http.url": "https://datadoghq.com/",
944+
"out.host": "datadoghq.com",
928945
"http.status_code": "200",
929946
"http.useragent": "python-requests/X.X.X"
930947
},
@@ -950,6 +967,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
950967
"span.kind": "client",
951968
"http.method": "GET",
952969
"http.url": "https://www.datadoghq.com/",
970+
"out.host": "www.datadoghq.com",
953971
"http.status_code": "200",
954972
"http.useragent": "python-requests/X.X.X"
955973
},
@@ -1028,7 +1046,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
10281046
"_inferred_span.tag_source": "self",
10291047
"peer.service": "integration-tests-python",
10301048
"_dd.p.dm": "-0",
1031-
"language": "python"
1049+
"language": "python",
1050+
"_dd.peer.service.source": "peer.service"
10321051
},
10331052
"metrics": {
10341053
"process_id": XXXX,
@@ -1083,6 +1102,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
10831102
"span.kind": "client",
10841103
"http.method": "GET",
10851104
"http.url": "https://datadoghq.com/",
1105+
"out.host": "datadoghq.com",
10861106
"http.status_code": "200",
10871107
"http.useragent": "python-requests/X.X.X"
10881108
},
@@ -1108,6 +1128,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
11081128
"span.kind": "client",
11091129
"http.method": "GET",
11101130
"http.url": "https://www.datadoghq.com/",
1131+
"out.host": "www.datadoghq.com",
11111132
"http.status_code": "200",
11121133
"http.useragent": "python-requests/X.X.X"
11131134
},
@@ -1185,7 +1206,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
11851206
"_inferred_span.tag_source": "self",
11861207
"peer.service": "integration-tests-python",
11871208
"_dd.p.dm": "-0",
1188-
"language": "python"
1209+
"language": "python",
1210+
"_dd.peer.service.source": "peer.service"
11891211
},
11901212
"metrics": {
11911213
"process_id": XXXX,
@@ -1240,6 +1262,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
12401262
"span.kind": "client",
12411263
"http.method": "GET",
12421264
"http.url": "https://datadoghq.com/",
1265+
"out.host": "datadoghq.com",
12431266
"http.status_code": "200",
12441267
"http.useragent": "python-requests/X.X.X"
12451268
},
@@ -1265,6 +1288,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
12651288
"span.kind": "client",
12661289
"http.method": "GET",
12671290
"http.url": "https://www.datadoghq.com/",
1291+
"out.host": "www.datadoghq.com",
12681292
"http.status_code": "200",
12691293
"http.useragent": "python-requests/X.X.X"
12701294
},
@@ -1348,7 +1372,8 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
13481372
"http.status_code": "200",
13491373
"peer.service": "integration-tests-python",
13501374
"_dd.p.dm": "-0",
1351-
"language": "python"
1375+
"language": "python",
1376+
"_dd.peer.service.source": "peer.service"
13521377
},
13531378
"metrics": {
13541379
"process_id": XXXX,
@@ -1405,6 +1430,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
14051430
"span.kind": "client",
14061431
"http.method": "GET",
14071432
"http.url": "https://datadoghq.com/",
1433+
"out.host": "datadoghq.com",
14081434
"http.status_code": "200",
14091435
"http.useragent": "python-requests/X.X.X"
14101436
},
@@ -1430,6 +1456,7 @@ HTTP GET https://www.datadoghq.com/ Headers: ["Accept-Encoding:gzip, deflate", "
14301456
"span.kind": "client",
14311457
"http.method": "GET",
14321458
"http.url": "https://www.datadoghq.com/",
1459+
"out.host": "www.datadoghq.com",
14331460
"http.status_code": "200",
14341461
"http.useragent": "python-requests/X.X.X"
14351462
},

0 commit comments

Comments
 (0)